Difference between revisions of "Template:TVT"
m (cat sort fix - the sequal) |
Fred Gandt (talk | contribs) m (→Documentation: fixed documentation typo sheme to scheme.) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ <includeonly>{{Help|noMultiLang=*|Avatar={{{Avatar}}}|Object={{{Object}}}|LandSim={{{LandSim}}}|Viewer={{{Viewer}}}|Community={{{Community}}}|Multimedia={{{Multimedia}}}|Navigation={{{Navigation}}}|Misc={{{Misc}}}|Wiki={{{Wiki}}}|Glossary={{{Glossary}}}|BugFixes={{{BugFixes}}}|TVT_c=*}}{{VT Header}} | __NOTOC__ <includeonly>{{Help|noMultiLang=*|Avatar={{{Avatar}}}|Object={{{Object}}}|LandSim={{{LandSim}}}|Viewer={{{Viewer}}}|Community={{{Community}}}|Communication={{{Communication}}}|Multimedia={{{Multimedia}}}|Navigation={{{Navigation}}}|Misc={{{Misc}}}|Wiki={{{Wiki}}}|Glossary={{{Glossary}}}|BugFixes={{{BugFixes}}}|TVT_c=*}}{{VT Header}} | ||
{{#ifeq:{{{VidTutBasics}}}|*|[[Category:Video Tutorials/Basics|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | {{#ifeq:{{{VidTutBasics}}}|*|[[Category:Video Tutorials/Basics|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | ||
{{#ifeq:{{{VidTutQuicktip}}}|*|[[Category:Video Tutorials/Quicktips|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | {{#ifeq:{{{VidTutQuicktip}}}|*|[[Category:Video Tutorials/Quicktips|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | ||
{{#ifeq:{{{VidTutTOTW}}}|*|[[Category:Video Tutorials/Tip of the Week|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | {{#ifeq:{{{VidTutTOTW}}}|*|[[Category:Video Tutorials/Tip of the Week|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}} | ||
{{#ifeq:{{{VidTutClassics}}}|*|[[Category:Video Tutorials/Classics|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]{{VT Classics Warning}}|}} | {{#ifeq:{{{VidTutClassics}}}|*|[[Category:Video Tutorials/Classics|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]{{VT Classics Warning}}|{{#ifeq:{{{OldInfo}}}|*|{{VT Classics Warning}}|}}}} | ||
<div align="center"> | <div align="center"> | ||
Line 9: | Line 9: | ||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td colspan="3" width="643" height="137">[[Image:tv_top.jpg]]</td> | <td colspan="3" width="643" height="137"><imagemap> | ||
Image:tv_top.jpg | |||
poly 0 0 [[:Image:tv_top.jpg]] | |||
desc none | |||
</imagemap></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="117" height="350">[[Image:tv_left.jpg]]</td> | <td width="117" height="350"><imagemap> | ||
Image:tv_left.jpg | |||
poly 0 0 [[:Image:tv_left.jpg]] | |||
desc none | |||
</imagemap></td> | |||
<td width="425" height="350">{{{Source}}}</td> | <td width="425" height="350">{{{Source}}}</td> | ||
<td width="101" height="350">[[Image:tv_right.jpg]]</td> | <td width="101" height="350"><imagemap> | ||
Image:tv_right.jpg | |||
poly 0 0 [[:Image:tv_right.jpg]] | |||
desc none | |||
</imagemap></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="3" width="643" height="173">[[Image:tv_bottom.jpg]]</td> | <td colspan="3" width="643" height="173"><imagemap> | ||
Image:tv_bottom.jpg | |||
poly 0 0 [[:Image:tv_bottom.jpg]] | |||
desc none | |||
</imagemap></td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
{{#if:{{{DownloadURL|{{{BlogURL|}}}}}}| | |||
<div style="text-align: center; background: rgb(255,0,128); border: 1px solid black; -moz-border-radius: 12px; padding: 2px; margin-bottom: 5px;"> | <div style="text-align: center; background: rgb(255,0,128); border: 1px solid black; -moz-border-radius: 12px; padding: 2px; margin-bottom: 5px;"> | ||
<div style="border: 1px solid black; padding: 5px; -moz-border-radius: 10px; background: white; text-align: left;"> | <div style="border: 1px solid black; padding: 5px; -moz-border-radius: 10px; background: white; text-align: left;"> | ||
Line 26: | Line 43: | ||
{{#if:{{{BlogURL|}}}|'''[{{{BlogURL}}} Read the related blog entry]'''|}} | {{#if:{{{BlogURL|}}}|'''[{{{BlogURL}}} Read the related blog entry]'''|}} | ||
</div> | </div> | ||
</div> | </div>|}} | ||
{{#if:{{{Notes|}}}| | {{#if:{{{Notes|}}}| | ||
<div style="padding: 2px; -moz-border-radius: 12px; background: rgb(0,255,0); margin-bottom: 5px; border: 1px solid black;"> | <div style="padding: 2px; -moz-border-radius: 12px; background: rgb(0,255,0); margin-bottom: 5px; border: 1px solid black;"> | ||
Line 51: | Line 68: | ||
In case a video is added to the VidTutClassics, the page automatically displays a [[Template:VT Classics Warning|warning box]] which informs the user that the provided info might be out-of-date. | In case a video is added to the VidTutClassics, the page automatically displays a [[Template:VT Classics Warning|warning box]] which informs the user that the provided info might be out-of-date. | ||
'''Important''': Please use the name scheme <font color="black">Video_Tutorial/NAME</font> for the video tutorial to unify naming and increase searchability. | |||
Line 66: | Line 85: | ||
<nowiki>|BlogURL=</nowiki><br> | <nowiki>|BlogURL=</nowiki><br> | ||
<nowiki>|RelatedLinks=</nowiki><br> | <nowiki>|RelatedLinks=</nowiki><br> | ||
<nowiki>|OldInfo=</nowiki><br> | |||
<nowiki>|Notes=</nowiki><br> | <nowiki>|Notes=</nowiki><br> | ||
<nowiki>|Avatar=</nowiki><br> | <nowiki>|Avatar=</nowiki><br> | ||
Line 72: | Line 92: | ||
<nowiki>|Viewer=</nowiki><br> | <nowiki>|Viewer=</nowiki><br> | ||
<nowiki>|Community=</nowiki><br> | <nowiki>|Community=</nowiki><br> | ||
<nowiki>|Communication=</nowiki><br> | |||
<nowiki>|Multimedia=</nowiki><br> | <nowiki>|Multimedia=</nowiki><br> | ||
<nowiki>|Navigation=</nowiki><br> | <nowiki>|Navigation=</nowiki><br> | ||
Line 103: | Line 124: | ||
* none | * none | ||
</noinclude> | </noinclude> |
Latest revision as of 11:17, 4 November 2012
Template:TVT stands for Torley Video Tutorial and is supposed to be used for... yeah, you guessed it: Torley's Video Tutorials (^_^)
Documentation
The template uses Template:Help and therefor includes the Help Header. It does not add Template:Multi-lang since most video tutorials most probably won't become translated. If some are translated nevertheless, please add Template:Multi-lang to the video tutorials article instead of changing the template.
Besides the help header, it also adds a Video Tutorial Header.
You can also add the video tutorial to different categories, placing an asterisk (*) behind the equal (=) sign of the category.
To use the template, please provide the youtube video code and place it in between the videoflash tags behind the source variable in the spec. You can also provide a download link for the video as well as the URL to the related blog entry. RelatedLinks= gives you the possibility to add... related links (^_^). Same with Notes=.
In case a video is added to the VidTutClassics, the page automatically displays a warning box which informs the user that the provided info might be out-of-date.
Important: Please use the name scheme Video_Tutorial/NAME for the video tutorial to unify naming and increase searchability.
Min Spec:
{{TVT
|Source=<videoflash></videoflash>
}}
FullSpec:
{{TVT
|Source=<videoflash></videoflash>
|DownloadURL=
|BlogURL=
|RelatedLinks=
|OldInfo=
|Notes=
|Avatar=
|Object=
|LandSim=
|Viewer=
|Community=
|Communication=
|Multimedia=
|Navigation=
|Wiki=
|Glossary=
|Misc=
|BugFixes=
|VidTutBasics=
|VidTutQuicktip=
|VidTutTOTW=
|VidTutClassics=
}}
Example
Dependencies
This Template Uses
- Template:!
- Template:!!
- Template:Help
- Template:Help Header
- Template:Languages/Lang
- Template:Multi-lang
- Template:Help/Disclaimer
- Template:VT Classics Warning
- Template:VT Header
This Template Is Used By
- none