Difference between revisions of "Template:TVT"

From Second Life Wiki
Jump to: navigation, search
m (added infos about name sheme to the documentation)
m (Documentation: fixed documentation typo sheme to scheme.)
 
(8 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
{{#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 52: Line 69:
 
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 sheme <font color="black">Video_Tutorial/NAME</font> for the video tutorial to unify naming and increase searchability.  
+
'''Important''': Please use the name scheme <font color="black">Video_Tutorial/NAME</font> for the video tutorial to unify naming and increase searchability.  
  
  
Line 68: 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 106: Line 124:
 
* none
 
* none
  
== To Do ==
 
*<strike>Box with (optional) notes</strike>
 
*<strike>Box with related links</strike>
 
*<strike>Downloadlink for HQ Version</strike>
 
*<strike>Cats like in Template:Visl</strike>
 
*<strike>VidTut Header to categories</strike> (more/other cats?)
 
*Watermelony design
 
*<strike>Out Of Date / Classic, info box</strike>
 
*<strike>Documentation</strike>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10: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

This Template Is Used By

  • none