Difference between revisions of "Template:Video infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Tark moved page Template:Infobox video to Template:Video infobox: Consistency)
 
(69 intermediate revisions by 49 users not shown)
Line 1: Line 1:
{| class="infobox" {{#if:{{{style|}}} | style="{{{style}}}" | style="float:right; clear:right; background-color:white" cellspacing="2" cellpadding="2"}}
+
{| class="infobox" cellspacing="2" cellpadding="2" style="{{{style|}}}"
 
|-
 
|-
! colspan="2" | {{#if:{{{title|}}} | {{{title}}} | {{PAGENAME}}}}
+
! colspan="2" style="background-color:#F3A957;" | {{{title|{{{video-name-override|{{{NAME|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}
 
|-
 
|-
| align="center" class="image" colspan="2" |  
+
| align="center" class="image" colspan="2" |<!--
{{#if:{{{preview|}}} | [[Image:{{{preview}}}.png|300px]]}}{{#if:{{{class|}}} | [[Image:{{{class}}}VidSplash.png|300px|Meet the {{{class}}} Titlecard]]}}{{#if:{{{mode|}}} |<br>[[Image:HeavySteamVidSplash.png|300px|Steam Version of Meet the Heavy's Titlecard]] | }}
+
-->{{#if:{{{preview|}}}|[[File:{{{preview}}}.{{{extension|png}}}|300px]]}}<!-- Preview specified
 +
-->{{#if:{{{class|}}} <!-- Class specified -->
 +
|[[File:{{{class}}}VidSplash{{#ifexist:File:{{{class}}}VidSplash_{{SUBPAGENAME}}.png|_{{SUBPAGENAME}}|}}.png|300px|{{#if:{{{mode|}}}
 +
| {{lang <!-- Yes mode -->
 +
| en = Steam Version of Meet the Heavy's Titlecard
 +
| es = Versión de Steam de la cabecera de Conoce al Heavy
 +
| fr = Version Steam de l'intertitre de « À la rencontre du Heavy »
 +
| pl = Wersja Steam karty tytułowej Poznajcie Grubego
 +
| pt-br = Versão do Steam do cartão de título do "Conheça o Heavy"
 +
| ru = Экран видео «Знакомьтесь, Пулемётчик» в Steam
 +
}}|{{lang<!-- No mode -->
 +
| en = Meet the {{{class}}} Titlecard
 +
| es = Cabecera de Conoce al {{{class}}}
 +
| fr = Intertitre de « À la rencontre du {{{class}}} »
 +
| pl = Karta tytułowa klasy {{{class}}}
 +
| pt-br = Cartão de título do "Conheça o {{{class}}}"
 +
| ru = Экран видео «Знакомьтесь, {{{class}}}»
 +
| tr = {{{class}}} ile Tanışın Başlık Kartı
 +
}}}}]]<!-- Mode closed -->
 +
}}<!-- Class closed -->
 
|-
 
|-
! colspan="2" |Video Info
+
! colspan="2" | {{lang
 +
  | en = Video Info
 +
  | ar = معلومات الفيديو
 +
  | cs = Info o videu
 +
  | da = Video-information
 +
  | de = Videoinformationen
 +
  | es = Información del vídeo
 +
  | fi = Videon tiedot
 +
  | fr = Informations sur la vidéo
 +
  | hu = Videó információi
 +
  | it = Informazioni video
 +
  | ja = ビデオの基本情報
 +
  | ko = 영상 정보
 +
  | nl = Videoinformatie
 +
  | pl = Informacje o filmie
 +
  | pt = Informação do Vídeo
 +
  | pt-br = Informações do vídeo
 +
  | ro = Informaţii Video
 +
  | ru = Информация о видео
 +
  | sv = Video Info
 +
  | tr = Video Bilgisi
 +
  | zh-hans = 视频信息
 +
  | zh-hant = 影片資訊
 +
  }}
 
|-
 
|-
| class="bold" |Released:
+
| class="bold" | {{lang
| {{#if:{{{release_date|}}} | {{{release_date}}} | <specify date>}}
+
  | en = Released:
 +
  | ar = :الإصدار
 +
  | cs = Vydáno:
 +
  | da = Udgivet:
 +
  | de = Erschienen:
 +
  | es = Fecha de lanzamiento:
 +
  | fi = Julkaistu:
 +
  | fr = Date de sortie :
 +
  | hu = Kiadási dátum:
 +
  | it = Data di rilascio:
 +
  | ja = リリース日:
 +
  | ko = 공개일:
 +
  | nl = Releasedatum:
 +
  | pl = Data wydania:
 +
  | pt = Data de lançamento:
 +
  | pt-br = Data de lançamento:
 +
  | ro = Lansat:
 +
  | ru = Выпущено:
 +
  | sv = Släppt:
 +
  | tr = Yayınlanma:
 +
  | zh-hans = 发布日期:
 +
  | zh-hant = 釋出日期:
 +
  }}
 +
| {{{release_date|''<specify date>''}}}
 
|-
 
|-
| class="bold" |Run time:
+
| class="bold" | {{lang
| {{#if:{{{length|}}} | {{{length}}} | <specify length>}} 
+
  | en = Run time:
 +
  | ar = :المدة
 +
  | cs = Délka:
 +
  | da = Længde:
 +
  | de = Länge:
 +
  | es = Duración:
 +
  | fi = Kesto:
 +
  | fr = Durée :
 +
  | hu = Hossz:
 +
  | it = Durata:
 +
  | ja = 再生時間:
 +
  | ko = 재생 시간:
 +
  | nl = Duur:
 +
  | pl = Czas trwania:
 +
  | pt = Duração:
 +
  | pt-br = Duração:
 +
  | ro = Durată:
 +
  | ru = Длительность:
 +
  | sv = Varaktighet
 +
  | tr = Süre:
 +
  | zh-hans = 时长:
 +
  | zh-hant = 長度:
 +
  }}
 +
| {{{length|''<specify length>''}}}
 +
|-
 +
|}<noinclude>
 +
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 +
{{Doc begin}}
 +
This template is designed for the [[Meet the Team]] videos.<br>
 +
Entries in '''bold''' are required.
 +
{| class="wikitable"
 +
! class = "header" | Parameter
 +
! class = "header" | Effect
 +
|-
 +
| class
 +
| One of the nine [[classes]]. Will auto-generate an image and a name
 +
|-
 +
| preview
 +
| The filename to use for the image
 +
|-
 +
| name
 +
| The name of the video
 +
|-
 +
| '''length'''
 +
| The length of the video
 +
|-
 +
| '''release_date'''
 +
| The date of release of the video. This is not language-switched in any way.
 +
|-
 +
| mode
 +
| Appears to be unused.
 
|}
 
|}
 
+
The class parameter is used to auto-generate the image name, but this can be overwritten with preview.
<noinclude>
+
[[Category:Infobox templates]]
[[Category:Infobox templates|{{PAGENAME}}]]
 
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:17, 25 May 2024

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

Documentation for Video infobox

This template is designed for the Meet the Team videos.
Entries in bold are required.

Parameter Effect
class One of the nine classes. Will auto-generate an image and a name
preview The filename to use for the image
name The name of the video
length The length of the video
release_date The date of release of the video. This is not language-switched in any way.
mode Appears to be unused.

The class parameter is used to auto-generate the image name, but this can be overwritten with preview.