Difference between revisions of "Template:Video infobox"

From Team Fortress Wiki
Jump to: navigation, search
(rv; please don't change other translations)
m (Updating French strings.)
(33 intermediate revisions by 28 users not shown)
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}}.png|_{{SUBPAGENAME}}|}}.png|300px|{{#if:{{{mode|}}}
    | ja =
+
| {{lang <!-- Yes mode -->
    | pl =
+
| en = Steam Version of Meet the Heavy's Titlecard
    | zh-hant =  
+
| es = Versión de Steam de la cabecera de Conoce al Heavy
    | ko =
+
| fr = Version Steam de l'intertitre de « À la rencontre du Heavy »
    }}.png|300px|Meet the {{{class}}} Titlecard]]}}{{#if:{{{mode|}}}
+
| pl = Wersja Steam karty tytułowej Poznajcie Grubego
    |<br />[[File:HeavySteamVidSplash.png|300px|Steam Version of Meet the Heavy's Titlecard]]
+
| 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" | {{lang
 
! colspan="2" | {{lang
   | en = Video info
+
   | en = Video Info
 
   | ar = معلومات الفيديو
 
   | ar = معلومات الفيديو
 +
  | cs = Info o videu
 +
  | da = Video-information
 +
  | de = Videoinformationen
 
   | es = Información del vídeo
 
   | es = Información del vídeo
 +
  | fi = Videon tiedot
 
   | fr = Informations sur la vidéo
 
   | fr = Informations sur la vidéo
 
   | hu = Videó információi
 
   | hu = Videó információi
 +
  | it = Informazioni video
 +
  | ja = ビデオの基本情報
 +
  | ko = 영상 정보
 +
  | nl = Videoinformatie
 
   | pl = Informacje o filmie
 
   | pl = Informacje o filmie
 
   | pt = Informação do Vídeo
 
   | pt = Informação do Vídeo
   | pt-br = Informação do Vídeo
+
   | pt-br = Informações do vídeo
  | ro = Informaţii film
 
  | sv = Video Info
 
 
   | ro = Informaţii Video
 
   | ro = Informaţii Video
 
   | ru = Информация о видео
 
   | ru = Информация о видео
   | it = Informazioni video
+
   | sv = Video Info
 
   | tr = Video Bilgisi
 
   | tr = Video Bilgisi
 +
  | zh-hans = 视频信息
 
   | zh-hant = 影片資訊  
 
   | zh-hant = 影片資訊  
  | ko = 영상 정보
 
 
   }}
 
   }}
 
|-
 
|-
 
| class="bold" | {{lang
 
| class="bold" | {{lang
   | ar = الإصدار:
+
  | en = Released:
 +
   | ar = :الإصدار
 +
  | cs = Vydáno:
 +
  | da = Udgivet:
 
   | de = Erschienen:
 
   | de = Erschienen:
 
   | es = Fecha de lanzamiento:
 
   | es = Fecha de lanzamiento:
   | en = Released:
+
   | fi = Julkaistu:
   | fr = Date de sortie:
+
   | fr = Date de sortie :
 
   | hu = Kiadási dátum:
 
   | hu = Kiadási dátum:
 +
  | it = Data di rilascio:
 
   | ja = リリース日:
 
   | ja = リリース日:
 +
  | ko = 공개일:
 +
  | nl = Releasedatum:
 
   | pl = Data wydania:
 
   | pl = Data wydania:
 
   | pt = Data de lançamento:
 
   | pt = Data de lançamento:
Line 48: Line 70:
 
   | ru = Выпущено:
 
   | ru = Выпущено:
 
   | sv = Släppt:
 
   | sv = Släppt:
  | it = Data di rilascio:
 
 
   | tr = Yayınlanma:
 
   | tr = Yayınlanma:
 +
  | zh-hans = 发布日期:
 
   | zh-hant = 釋出日期:
 
   | zh-hant = 釋出日期:
  | ko = 공개일:
 
 
   }}
 
   }}
| {{{release_date|<specify date>}}}
+
| {{{release_date|''<specify date>''}}}
 
|-
 
|-
 
| class="bold" | {{lang
 
| class="bold" | {{lang
   | ar = المدة:
+
  | en = Run time:
 +
   | ar = :المدة
 +
  | cs = Délka:
 +
  | da = Længde:
 
   | de = Länge:
 
   | de = Länge:
  | en = Run time:
 
 
   | es = Duración:
 
   | es = Duración:
   | fr = Durée:
+
  | fi = Kesto:
 +
   | fr = Durée :
 
   | hu = Hossz:
 
   | hu = Hossz:
   | ja = 時間:
+
  | it = Durata:
 +
   | ja = 再生時間:
 +
  | ko = 재생 시간:
 +
  | nl = Duur:
 
   | pl = Czas trwania:
 
   | pl = Czas trwania:
   | pt = Duracção:
+
   | pt = Duração:
 
   | pt-br = Duração:
 
   | pt-br = Duração:
 
   | ro = Durată:
 
   | ro = Durată:
 
   | ru = Длительность:
 
   | ru = Длительность:
 
   | sv = Varaktighet
 
   | sv = Varaktighet
  | it = Durata:
 
 
   | tr = Süre:
 
   | tr = Süre:
 +
  | zh-hans = 时长:
 
   | zh-hant = 長度:
 
   | zh-hant = 長度:
  | ko = 재생시간:
 
 
   }}
 
   }}
| {{{length|<specify length>}}}
+
| {{{length|''<specify length>''}}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
{{translation switching|ar, de, es, fr, hu, ja, pl, pt, pt-br, ro, ru, sv, it, tr, zh-hant}}
+
{{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}}
[[Category:Infobox templates|Infobox video]]
+
{{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.
 +
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:37, 16 August 2023

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.