Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
(I hope I'm doing this right)
(some fixes, hide hatnote on non-english pages (weird having random english-only note linking to english-only page), and add zh-hant from page history)
Line 1: Line 1:
<includeonly>=={{Lang
+
<includeonly><h2>{{lang
| en = Demonstration
+
| en = Demonstration
| fr = Démonstration
+
| fr = Démonstration
|  
+
| zh-hant = 展示影片
}}==
+
}}</h2>
{{hatnote|Learn more about the [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]].}}
+
{{if lang|en={{hatnote|Learn more about the [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]].}}|non-en=}}
{{youtube|{{{1}}}|width=512|ratio=16:9}}</includeonly>
+
{{youtube|{{{1|oHg5SJYRHA0}}}|width=512|ratio=16:9}}<!--
<noinclude>{{translation switching|en, fr}}</noinclude>
+
 
 +
--></includeonly><noinclude>
 +
{{translation switching|fr, zh-hant}}
 +
{{doc begin}}
 +
To display [[Team Fortress Wiki:Weapon Demonstration|weapon demonstration]] videos on pages. See [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]] for more info on specific videos.
 +
 
 +
=== Usage ===
 +
Use the YouTube video ID as the first unnamed parameter.
 +
 
 +
* {{tlx|Weapon Demonstration|y0A7D2ufqrU}} generates:
 +
 
 +
{{Weapon Demonstration|y0A7D2ufqrU}}
 +
 
 +
[[Category:Templates|Weapon Demonstration]]
 +
</noinclude>

Revision as of 06:16, 19 November 2010

Documentation for Weapon Demonstration

To display weapon demonstration videos on pages. See Weapon Demonstration project for more info on specific videos.

Usage

Use the YouTube video ID as the first unnamed parameter.

Demonstration