Difference between revisions of "Template:Video infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
(Using #ifexist to fix a few page errors, adding comments for sanity.)
Line 3: Line 3:
 
! colspan="2" style="background-color:#F3A957;" | {{{title|{{{video-name-override|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}
 
! colspan="2" style="background-color:#F3A957;" | {{{title|{{{video-name-override|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}
 
|-
 
|-
| align="center" class="image" colspan="2" | {{#if:{{{preview|}}}
+
| align="center" class="image" colspan="2" |<!--
    | [[File:{{{preview|Screenshot needed}}}.{{{extension|png}}}|300px]]}}{{#if:{{{class|}}}
+
-->{{#if:{{{preview|}}}|[[File:{{{preview}}}.{{{extension|png}}}|300px]]}}<!-- Preview specified
    | [[File:{{{class}}}VidSplash{{lang
+
-->{{#if:{{{class|}}} <!-- Class specified -->
    | en = {{if lang|en = |non-en = _{{SUBPAGENAME}}}}
+
|[[File:{{{class}}}VidSplash{{#ifexist:File:{{{class}}}VidSplash_{{SUBPAGENAME}}}}|_{{SUBPAGENAME}}|}}.png|300px|{{#if:{{{mode|}}}
    | fi =
+
| {{lang <!-- Yes mode -->
    | ja =
+
| en = Steam Version of Meet the Heavy's Titlecard
    | zh-hant =
+
| ru =Экран видео «Знакомьтесь, Пулеметчик» в Steam
    | ko =
+
}}|{{lang<!-- No mode -->
    }}.png|300px|Meet the {{{class}}} Titlecard]]}}{{#if:{{{mode|}}}
+
| en = Meet the {{{class}}} Titlecard
    |<br />{{lang
+
}}}}]]<!-- Mode closed -->
    | en = [[File:HeavySteamVidSplash.png|300px|Steam Version of Meet the Heavy's Titlecard]]
+
}}<!-- Class closed -->
    | nl = [[File:HeavySteamVidSplash.png|300px|Steam Version of Meet the Heavy's Titlecard]]
 
    | ru = [[File:HeavySteamVidSplash ru.png|300px|Экран видео «Знакомьтесь, Пулеметчик» в Steam]]}}
 
    }}
 
 
|-
 
|-
 
! colspan="2" | {{lang
 
! colspan="2" | {{lang
Line 64: Line 61:
 
   | zh-hant = 釋出日期:
 
   | zh-hant = 釋出日期:
 
   }}
 
   }}
| {{{release_date|<specify date>}}}
+
| {{{release_date|''<specify date>''}}}
 
|-
 
|-
 
| class="bold" | {{lang
 
| class="bold" | {{lang
Line 89: Line 86:
 
   | zh-hant = 長度:
 
   | zh-hant = 長度:
 
   }}
 
   }}
| {{{length|<specify length>}}}
+
| {{{length|''<specify length>''}}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, nl, ja, pl, pt, pt-br, ro, ru, sv,tr, zh-hant}}
+
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, nl, ja, pl, pt, pt-br, ro, ru, sv, tr, zh-hant}}
 
[[Category:Infobox templates|Infobox video]]
 
[[Category:Infobox templates|Infobox video]]
 
</noinclude>
 
</noinclude>

Revision as of 18:18, 28 April 2013

Video infobox
Video Info
Released: <specify date>
Run time: <specify length>