Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
m (Updated the Romanian translation)
 
(167 intermediate revisions by 54 users not shown)
Line 1: Line 1:
<includeonly><h2>{{lang
+
<includeonly>{{#if:{{{noheader|}}}|<!-- Nothing -->|{{anchor|Weapon Demonstration|Demonstration|Weapon demonstration}}<{{{headerlevel|h2}}}>{{#if: {{{pyroland|}}} |{{lang
 +
| en = Pyroland Demonstration
 +
| cs = Ukázka v Pyrolandu
 +
| de = Pyroland-Demonstration
 +
| es = Demostración para Pyrolandia
 +
| fi = Pyromaa-esittely
 +
| fr = Démonstration Pyroland
 +
| it = Dimostrazione su Pirolandia
 +
| ja = パイロランドの実演
 +
| ko = 파이로동산 시연 영상
 +
| nl = Demonstratie in Pyroland
 +
| no = Pyroland Demonstrasjon
 +
| pl = Demonstracja w Pyrolandzie
 +
| pt = Demonstração na Pyrolândia
 +
| pt-br = Demonstração na Pyrolândia
 +
| ro = Demonstrație din Pyroland
 +
| ru = Демонстрация в Пироландии
 +
| tr = Pyroland tanıtım videosu
 +
| zh-hans = 火焰兵幻境演示视频
 +
| zh-hant = 幻想世界殺敵示範
 +
}}|{{lang
 
  | en = Demonstration
 
  | en = Demonstration
 +
| ar = العرض
 +
| da = Demonstration
 +
| de = Demonstration
 +
| cs = Názorná ukázka
 
  | es = Demostración
 
  | es = Demostración
 
  | fi = Esittely
 
  | fi = Esittely
 
  | fr = Démonstration
 
  | fr = Démonstration
 +
| hu = Demonstráció
 +
| it = Dimostrazione
 +
| ja = 実演動画
 +
| ko = 시연 영상
 +
| nl = Demonstratie
 +
| no = Demonstrasjon
 
  | pl = Demonstracja
 
  | pl = Demonstracja
 
  | pt = Demonstração
 
  | pt = Demonstração
Line 9: Line 39:
 
  | ro = Demonstraţie
 
  | ro = Demonstraţie
 
  | ru = Демонстрация
 
  | ru = Демонстрация
  | zh-hans = 展示影片
+
| sv = Demonstration
  | zh-hant = 展示影片
+
| tr = Tanıtım videosu
  }}</h2>
+
  | zh-hans = 演示视频
{{if lang|en={{hatnote|Learn more about the [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]].}}|non-en=}}
+
  | zh-hant = 示範影片
{{youtube|{{{1|oHg5SJYRHA0}}}|width=512|ratio=16:9}}<!--  
+
  }}}}</{{{headerlevel|h2}}}>}}
 
+
{{#if:{{{nohatnote|}}}
  --></includeonly><noinclude>
+
  |<!-- Nothing -->|<!--
{{translation switching|en, es, fi, fr, pl, pt, pt-br, ro, ru, zh-hans, zh-hant}}
+
  --><!-- Wind: No need for the project ad anymore; turn this back on if needed at some point in the future. <ad>{{lang
{{doc begin}}
+
    | en = {{hatnote|Learn more about the [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]].}}
To display [[Team Fortress Wiki:Weapon Demonstration|weapon demonstration]] videos on pages. See [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]] for more info on specific videos.
+
    | cs = {{hatnote|Další informace o [[Team Fortress Wiki:Weapon Demonstration|projektu ukázek zbraní]].}}
 
+
    | da = {{hatnote|Lær mere omkring [[Team Fortress Wiki:Weapon Demonstration|Våben-demonstrationsprojektet]].}}
=== Usage ===
+
    | de = {{hatnote|Erfahre mehr über das [[Team Fortress Wiki:Weapon Demonstration|Waffen-Demonstration-Projekt]].}}
Use the YouTube video ID as the first unnamed parameter.
+
    | es = {{hatnote|Más información sobre el [[Team Fortress Wiki:Weapon Demonstration|Proyecto de Demostración de Arma]].}}
 
+
    | fi = {{hatnote|Lisätietoja aseiden esittelyprojektista löydät [[Team Fortress Wiki:Weapon Demonstration|täältä]].}}
* {{tlx|Weapon Demonstration|y0A7D2ufqrU}} generates:
+
    | 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]].}}
{{Weapon Demonstration|y0A7D2ufqrU}}
+
    | it = {{hatnote|Scopri maggiori informazioni riguardo il [[Team Fortress Wiki:Weapon Demonstration|Progetto di Dimostrazione delle Armi]].}}
 
+
    | ja = {{hatnote|詳細は[[Team Fortress Wiki:Weapon Demonstration|武器の実演動画プロジェクト]]のページをご覧ください。}}
[[Category:Templates|Weapon Demonstration]]
+
    | ko = {{hatnote|[[Team Fortress Wiki:Weapon Demonstration|시연 영상]]에 대해 더 알아보기.}}
</noinclude>
+
    | 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]].}}
 +
    | 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}}}}
 +
    | 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-hant = {{hatnote|請查看[[Team Fortress Wiki:Weapon Demonstration|武器示範影片專案]]以獲得更多細節。}}
 +
  }}</ad> -->
 +
}}<!--
 +
  -->{{#ifexist:Template:Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate|<!--
 +
    -->{{hatnote |<!--
 +
      -->{{lang
 +
        | 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}}.
 +
        | de = <span style="color:red">Note:</span> Diese Demonstration ist veraltet seit {{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}}.
 +
        | 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}}.
 +
        | ja = <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}}.
 +
        | no = <span style="color:red">Note:</span> Denne demonstrasjonen har blitt gammel siden {{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}}.
 +
        | sv = <span style="color:red">Notering:</span> Denna demostration har blivit gammal sedan {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
 +
        | zh-hant = <span style="color:red">注意:</span>這部示範影片已於{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}時過期。
 +
        | zh-hans = <span style="color:red">注意:</span>此演示视频从{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}开始都过期了。
 +
      }}
 +
    }}
 +
  }}
 +
{{#switch: {{{videosource|{{SUBPAGENAME}}}}}
 +
| #default = {{{{#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}}}}}
 +
  }}
 +
| 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>
 +
{{translation switching|en, de, es, fi, fr, it, ja, ko, nl, no, pl, ro, pt-br, ru, zh-hant, zh-hans}}
 +
{{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.