Difference between revisions of "Template:TVT"

From Second Life Wiki
Jump to: navigation, search
m (style improved)
m (Documentation: fixed documentation typo sheme to scheme.)
 
(15 intermediate revisions by 5 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|{{PAGENAME}}]]|}}
+
{{#ifeq:{{{VidTutBasics}}}|*|[[Category:Video Tutorials/Basics|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}}
{{#ifeq:{{{VidTutQuicktip}}}|*|[[Category:Video Tutorials/Quicktips|{{PAGENAME}}]]|}}
+
{{#ifeq:{{{VidTutQuicktip}}}|*|[[Category:Video Tutorials/Quicktips|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}}
{{#ifeq:{{{VidTutTOTW}}}|*|[[Category:Video Tutorials/Tip of the Week|{{PAGENAME}}]]|}}
+
{{#ifeq:{{{VidTutTOTW}}}|*|[[Category:Video Tutorials/Tip of the Week|{{#replace:{{SUBPAGENAME}}|Video Tutorial/|}}]]|}}
{{#ifeq:{{{VidTutClassics}}}|*|[[Category:Video Tutorials/Classics|{{PAGENAME}}]]{{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" style="margin-bottom: 200px; min-width: 643px;">
+
===Title: {{#replace:{{SUBPAGENAME}}|Video Tutorial/|}} ===
===Title: {{SUBPAGENAME}} ===
+
<table cellspacing="0" cellpadding="0">
<div style="position: relative; bottom: -524px; left: -11px; height: 660px; width: 643px; margin-top: -524px;">[[Image:TVT-TV1.jpg]]</div>
+
<tr>
{{{Source}}}
+
<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>
 +
<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="101" height="350"><imagemap>
 +
Image:tv_right.jpg
 +
poly 0 0 [[:Image:tv_right.jpg]]
 +
desc none
 +
</imagemap></td>
 +
</tr>
 +
<tr>
 +
<td colspan="3" width="643" height="173"><imagemap>
 +
Image:tv_bottom.jpg
 +
poly 0 0 [[:Image:tv_bottom.jpg]]
 +
desc none
 +
</imagemap></td>
 +
</tr>
 +
</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 17: 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 42: 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 57: 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 63: 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 77: Line 107:
 
==Example==
 
==Example==
  
*see [[User:Zai Lynch/VT Test]]
+
*see [[You are Here: a tour of Torley's island! VT]]
 
+
  
 
==Dependencies==
 
==Dependencies==
Line 95: 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