Difference between revisions of "Template:Video infobox"
m (fixing wrong titlecard problem) |
m (Tark moved page Template:Infobox video to Template:Video infobox: Consistency) |
||
(19 intermediate revisions by 17 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" |<!-- |
− | + | -->{{#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" | {{lang | ! colspan="2" | {{lang | ||
Line 20: | Line 30: | ||
| cs = Info o videu | | cs = Info o videu | ||
| da = Video-information | | da = Video-information | ||
+ | | de = Videoinformationen | ||
| es = Información del vídeo | | es = Información del vídeo | ||
| fi = Videon tiedot | | fi = Videon tiedot | ||
Line 25: | Line 36: | ||
| hu = Videó információi | | hu = Videó információi | ||
| it = Informazioni video | | it = Informazioni video | ||
+ | | ja = ビデオの基本情報 | ||
| ko = 영상 정보 | | ko = 영상 정보 | ||
− | | nl = | + | | nl = Videoinformatie |
| pl = Informacje o filmie | | pl = Informacje o filmie | ||
| pt = Informação do Vídeo | | pt = Informação do Vídeo | ||
− | | pt-br = | + | | pt-br = Informações do vídeo |
− | |||
− | |||
| ro = Informaţii Video | | ro = Informaţii Video | ||
| ru = Информация о видео | | ru = Информация о видео | ||
+ | | sv = Video Info | ||
| tr = Video Bilgisi | | tr = Video Bilgisi | ||
+ | | zh-hans = 视频信息 | ||
| zh-hant = 影片資訊 | | zh-hant = 影片資訊 | ||
}} | }} | ||
Line 40: | Line 52: | ||
| class="bold" | {{lang | | class="bold" | {{lang | ||
| en = Released: | | en = Released: | ||
− | | ar = الإصدار | + | | ar = :الإصدار |
| cs = Vydáno: | | cs = Vydáno: | ||
| da = Udgivet: | | da = Udgivet: | ||
Line 46: | Line 58: | ||
| es = Fecha de lanzamiento: | | es = Fecha de lanzamiento: | ||
| fi = Julkaistu: | | fi = Julkaistu: | ||
− | | fr = Date de sortie: | + | | fr = Date de sortie : |
+ | | hu = Kiadási dátum: | ||
| it = Data di rilascio: | | it = Data di rilascio: | ||
+ | | ja = リリース日: | ||
| ko = 공개일: | | ko = 공개일: | ||
− | | nl = | + | | nl = Releasedatum: |
− | |||
− | |||
| pl = Data wydania: | | pl = Data wydania: | ||
| pt = Data de lançamento: | | pt = Data de lançamento: | ||
Line 59: | Line 71: | ||
| sv = Släppt: | | sv = Släppt: | ||
| tr = Yayınlanma: | | tr = Yayınlanma: | ||
+ | | zh-hans = 发布日期: | ||
| zh-hant = 釋出日期: | | zh-hant = 釋出日期: | ||
}} | }} | ||
− | | {{{release_date|<specify date>}}} | + | | {{{release_date|''<specify date>''}}} |
|- | |- | ||
| class="bold" | {{lang | | class="bold" | {{lang | ||
| en = Run time: | | en = Run time: | ||
− | | ar = المدة | + | | ar = :المدة |
| cs = Délka: | | cs = Délka: | ||
| da = Længde: | | da = Længde: | ||
Line 71: | Line 84: | ||
| es = Duración: | | es = Duración: | ||
| fi = Kesto: | | fi = Kesto: | ||
− | | fr = Durée: | + | | fr = Durée : |
| hu = Hossz: | | hu = Hossz: | ||
| it = Durata: | | it = Durata: | ||
− | | | + | | ja = 再生時間: |
− | | | + | | ko = 재생 시간: |
− | | | + | | nl = Duur: |
| pl = Czas trwania: | | pl = Czas trwania: | ||
| pt = Duração: | | pt = Duração: | ||
Line 84: | Line 97: | ||
| sv = Varaktighet | | sv = Varaktighet | ||
| tr = Süre: | | tr = Süre: | ||
+ | | zh-hans = 时长: | ||
| zh-hant = 長度: | | zh-hant = 長度: | ||
}} | }} | ||
− | | {{{length|<specify length>}}} | + | | {{{length|''<specify length>''}}} |
|- | |- | ||
|}<noinclude> | |}<noinclude> | ||
− | {{translation switching|ar, cs, da, de, es, fi, fr, hu, it, | + | {{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 | + | {{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> |
Latest revision as of 19:17, 25 May 2024
Video infobox | |
---|---|
Video Info | |
Released: | <specify date> |
Run time: | <specify length> |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Video infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: 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 (add) |
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.