Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Updated the Romanian translation)
 
(11 intermediate revisions by 7 users not shown)
Line 9: Line 9:
 
  | ja = パイロランドの実演
 
  | ja = パイロランドの実演
 
  | ko = 파이로동산 시연 영상
 
  | ko = 파이로동산 시연 영상
  | nl = Demonstratie in Pyro-land
+
  | nl = Demonstratie in Pyroland
 
  | no = Pyroland Demonstrasjon
 
  | no = Pyroland Demonstrasjon
 
  | pl = Demonstracja w Pyrolandzie
 
  | pl = Demonstracja w Pyrolandzie
 
  | pt = Demonstração na Pyrolândia
 
  | pt = Demonstração na Pyrolândia
 
  | pt-br = Demonstração na Pyrolândia
 
  | pt-br = Demonstração na Pyrolândia
 +
| ro = Demonstrație din Pyroland
 
  | ru = Демонстрация в Пироландии
 
  | ru = Демонстрация в Пироландии
 
  | tr = Pyroland tanıtım videosu
 
  | tr = Pyroland tanıtım videosu
Line 27: Line 28:
 
  | fi = Esittely
 
  | fi = Esittely
 
  | fr = Démonstration
 
  | fr = Démonstration
 +
| hu = Demonstráció
 
  | it = Dimostrazione
 
  | it = Dimostrazione
| hu = Demonstráció
 
 
  | ja = 実演動画
 
  | ja = 実演動画
 
  | ko = 시연 영상
 
  | ko = 시연 영상
Line 53: Line 54:
 
     | fi = {{hatnote|Lisätietoja aseiden esittelyprojektista löydät [[Team Fortress Wiki:Weapon Demonstration|täältä]].}}
 
     | fi = {{hatnote|Lisätietoja aseiden esittelyprojektista löydät [[Team Fortress Wiki:Weapon Demonstration|täältä]].}}
 
     | fr = {{hatnote|plus d'informations à propos du [[Team Fortress Wiki:Weapon Demonstration|Projet de Démonstration d'Arme]].}}
 
     | fr = {{hatnote|plus d'informations à propos du [[Team Fortress Wiki:Weapon Demonstration|Projet de Démonstration d'Arme]].}}
 +
    | hu = {{hatnote|Tudj meg többet a [[Team Fortress Wiki:Weapon Demonstration|fegyver demonstrációs projektről]].}}
 
     | it = {{hatnote|Scopri maggiori informazioni riguardo il [[Team Fortress Wiki:Weapon Demonstration|Progetto di Dimostrazione delle Armi]].}}
 
     | it = {{hatnote|Scopri maggiori informazioni riguardo il [[Team Fortress Wiki:Weapon Demonstration|Progetto di Dimostrazione delle Armi]].}}
    | hu = {{hatnote|Tudj meg többet a [[Team Fortress Wiki:Weapon Demonstration|fegyver demonstrációs projektről]].}}
 
 
     | ja = {{hatnote|詳細は[[Team Fortress Wiki:Weapon Demonstration|武器の実演動画プロジェクト]]のページをご覧ください。}}
 
     | ja = {{hatnote|詳細は[[Team Fortress Wiki:Weapon Demonstration|武器の実演動画プロジェクト]]のページをご覧ください。}}
 
     | ko = {{hatnote|[[Team Fortress Wiki:Weapon Demonstration|시연 영상]]에 대해 더 알아보기.}}
 
     | ko = {{hatnote|[[Team Fortress Wiki:Weapon Demonstration|시연 영상]]에 대해 더 알아보기.}}
 
     | nl = {{hatnote|Leer meer over het [[Team Fortress Wiki:Weapon Demonstration|Wapen-demonstratieproject]].}}
 
     | nl = {{hatnote|Leer meer over het [[Team Fortress Wiki:Weapon Demonstration|Wapen-demonstratieproject]].}}
 
     | no =  {{hatnote|Lær mer om [[Team Fortress Wiki:Weapon Demonstration|Våpen-demonstrasjonsprosjektet]].}}
 
     | no =  {{hatnote|Lær mer om [[Team Fortress Wiki:Weapon Demonstration|Våpen-demonstrasjonsprosjektet]].}}
     | pl = {{hatnote|Dowiedz się więcej o [[Team Fortress Wiki:Weapon Demonstration|Projekcie Demonstracji broni]]. {{lang icon}}}}
+
     | pl = {{hatnote|Dowiedz się więcej o [[Team Fortress Wiki:Weapon Demonstration|projekcie demonstracji broni]] {{lang icon}}}}.
 +
    | ro = {{hatnote|Află mai multe despre [[Team Fortress Wiki:Weapon Demonstration|proiectul de demonstrație al armelor]]{{lang icon}}.}}
 
     | pt-br = {{hatnote|Descubra mais sobre o [[Team Fortress Wiki:Weapon Demonstration|projeto de demonstração de armas]]. {{lang icon}}}}
 
     | pt-br = {{hatnote|Descubra mais sobre o [[Team Fortress Wiki:Weapon Demonstration|projeto de demonstração de armas]]. {{lang icon}}}}
 
     | ru = {{hatnote|Узнайте больше о [[Team Fortress Wiki:Weapon Demonstration|проекте демонстрации оружия]]. {{lang icon}}}}
 
     | ru = {{hatnote|Узнайте больше о [[Team Fortress Wiki:Weapon Demonstration|проекте демонстрации оружия]]. {{lang icon}}}}
 +
    | tr = {{hatnote|Daha fazla bilgi için: [[Team Fortress Wiki:Weapon Demonstration|Silah Tanıtımı projesi]]. {{lang icon}}}}
 
     | zh-hans = {{hatnote|通过[[Team Fortress Wiki:Weapon Demonstration|武器演示视频]]来获得更多内容。}}
 
     | zh-hans = {{hatnote|通过[[Team Fortress Wiki:Weapon Demonstration|武器演示视频]]来获得更多内容。}}
 
     | zh-hant = {{hatnote|請查看[[Team Fortress Wiki:Weapon Demonstration|武器示範影片專案]]以獲得更多細節。}}
 
     | zh-hant = {{hatnote|請查看[[Team Fortress Wiki:Weapon Demonstration|武器示範影片專案]]以獲得更多細節。}}
    | tr = {{hatnote|Daha fazla bilgi için: [[Team Fortress Wiki:Weapon Demonstration|Silah Tanıtımı projesi]]. {{lang icon}}}}
 
 
   }}</ad> -->
 
   }}</ad> -->
 
}}<!--
 
}}<!--
Line 71: Line 73:
 
       -->{{lang
 
       -->{{lang
 
         | en = <span style="color:red">Note:</span> This demonstration has been out of date since {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | en = <span style="color:red">Note:</span> This demonstration has been out of date since {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 +
        | cs = <span style="color:red">Poznámka:</span> Tato ukázka je zastaralá od {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | da = <span style="color:red">Note:</span> Denne demonstration har været forældet siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | da = <span style="color:red">Note:</span> Denne demonstration har været forældet siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | de = <span style="color:red">Note:</span> Diese Demonstration ist veraltet seit {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
 
         | de = <span style="color:red">Note:</span> Diese Demonstration ist veraltet seit {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
         | es = <span style="color:red">Note:</span> Esta demostración ha sido anticuada desde {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
+
         | es = <span style="color:red">Nota:</span> Esta demostración está desactualizada desde el {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
 
         | fi = <span style="color:red">Huomio:</span> Tämä esittely on vanhentunut {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | fi = <span style="color:red">Huomio:</span> Tämä esittely on vanhentunut {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | fr = <span style="color:red">Remarque :</span> Cette démonstration est dépassée depuis le {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | fr = <span style="color:red">Remarque :</span> Cette démonstration est dépassée depuis le {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 +
        | hu = <span style="color:red">Jegyzet:</span> Ez a demonstráció elavult {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} óta.
 
         | it = <span style="color:red">Nota:</span> Questa dimostrazione necessita di un aggiornamento dal {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | it = <span style="color:red">Nota:</span> Questa dimostrazione necessita di un aggiornamento dal {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
        | hu = <span style="color:red">Jegyzet:</span> Ez a demonstráció elavult {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} óta.
 
 
         | ja = <span style="color:red">注:</span> この動画は{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}以前の古い情報が元になっています。
 
         | ja = <span style="color:red">注:</span> この動画は{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}以前の古い情報が元になっています。
 
         | ko = <span style="color:red">알림:</span> 해상 시연 영상은 {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} 이후로 더이상 유효하지 않습니다.
 
         | ko = <span style="color:red">알림:</span> 해상 시연 영상은 {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} 이후로 더이상 유효하지 않습니다.
 
         | nl = <span style="color:red">Opmerking:</span> Deze demonstratie is verouderd sinds {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | nl = <span style="color:red">Opmerking:</span> Deze demonstratie is verouderd sinds {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | no = <span style="color:red">Note:</span> Denne demonstrasjonen har blitt gammel siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | no = <span style="color:red">Note:</span> Denne demonstrasjonen har blitt gammel siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
        | pt-br= <span style="color:red">Observação:</span> Esta demonstração está desatualizada desde a {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
 
         | pl = <span style="color:red">Uwaga:</span> Ta demonstracja jest nieaktualna od {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | pl = <span style="color:red">Uwaga:</span> Ta demonstracja jest nieaktualna od {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 +
        | pt-br = <span style="color:red">Observação:</span> Esta demonstração está desatualizada desde a {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 +
        | ro = <span style="color:red">Observație:</span> Această demonstrație este învechită din {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | ru = <span style="color:red">Заметка:</span> Эта демонстрация устарела после {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | ru = <span style="color:red">Заметка:</span> Эта демонстрация устарела после {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | sv = <span style="color:red">Notering:</span> Denna demostration har blivit gammal sedan {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 
         | sv = <span style="color:red">Notering:</span> Denna demostration har blivit gammal sedan {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
Line 91: Line 95:
 
     }}
 
     }}
 
   }}
 
   }}
{{{{#if:{{{tn|}}}|youtube_tn|youtube}}
+
{{#switch: {{{videosource|{{SUBPAGENAME}}}}}
  | width={{{width|640}}}
+
| #default = {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
  | widths={{{widths|360-480-512-640}}}
+
  | width = {{{width|640}}}
  | hd={{{hd|on}}}
+
  | widths = {{{widths|360-480-512-640}}}
  | ratio={{{ratio|16x9}}}
+
  | hd = {{{hd|on}}}
  | 1={{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}}}}}}
+
  | ratio = {{{ratio|16x9}}}
 +
  | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 +
  }}
 +
| bilibili
 +
| zh-hans
 +
| zh-hant = {{#if: {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}}
 +
    | {{bilibili
 +
      | {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}}}}}
 +
      | width = {{{width|637}}}
 +
      | height = {{{height|470}}}
 +
      | ratio = {{{ratio|16x9}}}
 +
    }}
 +
    | {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
 +
      | width = {{{width|640}}}
 +
      | widths = {{{widths|360-480-512-640}}}
 +
      | hd = {{{hd|on}}}
 +
      | ratio = {{{ratio|16x9}}}
 +
      | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 +
    }}
 +
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|en, de, es, fi, fr, it, ja, nl, no, pl, pt-br, ru, zh-hant, zh-hans}}
+
{{translation switching|en, de, es, fi, fr, it, ja, ko, nl, no, pl, ro, pt-br, ru, zh-hant, zh-hans}}
 
{{template doc}}
 
{{template doc}}

Latest revision as of 15:55, 25 November 2023

Template documentation [view] [edit] [history] [purge]

To display weapon demonstration videos on pages. See Weapon Demonstration Project Video for more info on specific videos.

Usage

Simply place the template on the weapon article.

If a link to a patch which outdates the demonstration is found in {{Dictionary/demonstrations}}, it will display a notice that the demonstration is outdated.

Demonstration

To manually choose a weapon video, insert the YouTube video ID as an unnamed parameter:

To manually choose a weapon video by weapon name, insert the name of the weapon as weapon parameter:

To customize the level of the header, add the headerlevel parameter:

To remove the header, add the noheader parameter:

To remove the hatnote (but not the header), add the nohatnote parameter:

To make the video show up as a thumbnail, use tn=yes:

Parameters width and ratio work like the {{Youtube}} template.

As weapon demonstrations frequently become outdated with patches, this template can be adapted to flag demonstrations as "outdated". By editing this page, and adding code as such: scattergun-outdate: {{patch name|6|27|2012|date=true}}.
This will appear on the page as: Note: This demonstration has been out of date since June 27, 2012.