Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Updated the Romanian translation)
 
(7 intermediate revisions by 6 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 60: Line 61:
 
     | 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}}}}
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}}.
Line 84: Line 87:
 
         | 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}}.
 
         | 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 99: Line 103:
 
   | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 
   | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
 
   }}
 
   }}
  | bilibili | zh-hans = {{#ifeq: {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}} | {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}} | {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
+
  | bilibili
  | width = {{{width|640}}}
+
| zh-hans
  | widths = {{{widths|360-480-512-640}}}
+
| zh-hant = {{#if: {{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}}
  | hd = {{{hd|on}}}
+
    | {{bilibili
  | ratio = {{{ratio|16x9}}}
+
      | {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}}}}}
  | 1 = {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|youtube}}}}}
+
      | width = {{{width|637}}}
  }} | {{bilibili
+
      | height = {{{height|470}}}
  | {{{1|{{Dictionary/demonstrations/{{#if:{{{pyroland|}}}|pyroland-}}{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}|bilibili}}}}}
+
      | ratio = {{{ratio|16x9}}}
  | width = {{{width|637}}}
+
    }}
  | height = {{{height|470}}}
+
    | {{{{#if:{{{tn|}}}|youtube_tn|youtube}}
  | ratio = {{{ratio|16x9}}}
+
      | 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, ko, 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.