Difference between revisions of "Template:Weapon Demonstration"
(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> | + | <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| | + | |
+ | --></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
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Weapon Demonstration/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: fr, zh-hant (add) |
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.
{{Weapon Demonstration|y0A7D2ufqrU}}
generates: