Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
m (dis fix?)
m (Updated the Romanian translation)
 
(155 intermediate revisions by 52 users not shown)
Line 1: Line 1:
<includeonly>{{anchor|Weapon Demonstration|Demonstration|Weapon demonstration}}<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
 
  | it = Dimostrazione
  | ja = 動画
+
  | ja = 実演動画
  | ko = 사용 동영상
+
  | ko = 시연 영상
 
  | nl = Demonstratie
 
  | nl = Demonstratie
 +
| no = Demonstrasjon
 
  | pl = Demonstracja
 
  | pl = Demonstracja
 
  | pt = Demonstração
 
  | pt = Demonstração
Line 13: 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|width=512|ratio=16:9|1={{#if:{{{1|}}}
+
  }}}}</{{{headerlevel|h2}}}>}}
| {{{1}}}
+
{{#if:{{{nohatnote|}}}
| {{#switch:{{lc:{{BASEPAGENAMEE}}}}
+
  |<!-- Nothing -->|<!--
  | ambassador                                = XtxWtjawWUY
+
  --><!-- Wind: No need for the project ad anymore; turn this back on if needed at some point in the future. <ad>{{lang
  | amputator                                = -leou2cEG5w
+
    | en = {{hatnote|Learn more about the [[Team Fortress Wiki:Weapon Demonstration|Weapon Demonstration project]].}}
  | axtinguisher                              = n9j73qLYCks
+
    | cs = {{hatnote|Další informace o [[Team Fortress Wiki:Weapon Demonstration|projektu ukázek zbraní]].}}
  | backburner                                = nMEebEr6dOo
+
    | da = {{hatnote|Lær mere omkring [[Team Fortress Wiki:Weapon Demonstration|Våben-demonstrationsprojektet]].}}
    | back_scratcher
+
    | de = {{hatnote|Erfahre mehr über das [[Team Fortress Wiki:Weapon Demonstration|Waffen-Demonstration-Projekt]].}}
     | back scratcher                          =  
+
    | es = {{hatnote|Más información sobre el [[Team Fortress Wiki:Weapon Demonstration|Proyecto de Demostración de Arma]].}}
  | bat                                      = c2PgbTm21d4
+
    | fi = {{hatnote|Lisätietoja aseiden esittelyprojektista löydät [[Team Fortress Wiki:Weapon Demonstration|täältä]].}}
  | battalion%27s_backup
+
    | fr = {{hatnote|plus d'informations à propos du [[Team Fortress Wiki:Weapon Demonstration|Projet de Démonstration d'Arme]].}}
  | battalion's backup                        = Lhpegpaxnj4
+
     | hu = {{hatnote|Tudj meg többet a [[Team Fortress Wiki:Weapon Demonstration|fegyver demonstrációs projektről]].}}
  | big_kill
+
    | it = {{hatnote|Scopri maggiori informazioni riguardo il [[Team Fortress Wiki:Weapon Demonstration|Progetto di Dimostrazione delle Armi]].}}
  | big kill                                  = 1zo0IuJKfWM
+
    | ja = {{hatnote|詳細は[[Team Fortress Wiki:Weapon Demonstration|武器の実演動画プロジェクト]]のページをご覧ください。}}
  | black_box
+
    | ko = {{hatnote|[[Team Fortress Wiki:Weapon Demonstration|시연 영상]]에 대해 더 알아보기.}}
  | black box                                = lxV2-6GOXSg
+
     | nl = {{hatnote|Leer meer over het [[Team Fortress Wiki:Weapon Demonstration|Wapen-demonstratieproject]].}}
  | blutsauger                                = H-CNej336SM
+
    | no = {{hatnote|Lær mer om [[Team Fortress Wiki:Weapon Demonstration|Våpen-demonstrasjonsprosjektet]].}}
  | bonesaw                                  = PKOpzeWuUQE
+
     | pl = {{hatnote|Dowiedz się więcej o [[Team Fortress Wiki:Weapon Demonstration|projekcie demonstracji broni]] {{lang icon}}}}.
  | bonk!_atomic_punch
+
     | ro = {{hatnote|Află mai multe despre [[Team Fortress Wiki:Weapon Demonstration|proiectul de demonstrație al armelor]]{{lang icon}}.}}
  | bonk! atomic punch                        = ie9yIzZFUwc
+
     | pt-br = {{hatnote|Descubra mais sobre o [[Team Fortress Wiki:Weapon Demonstration|projeto de demonstração de armas]]. {{lang icon}}}}
    | boston_basher
+
    | ru = {{hatnote|Узнайте больше о [[Team Fortress Wiki:Weapon Demonstration|проекте демонстрации оружия]]. {{lang icon}}}}
     | boston basher                          =  
+
     | tr = {{hatnote|Daha fazla bilgi için: [[Team Fortress Wiki:Weapon Demonstration|Silah Tanıtımı projesi]]. {{lang icon}}}}
  | bottle                                    = m9W_CO4F5D4
+
     | zh-hans = {{hatnote|通过[[Team Fortress Wiki:Weapon Demonstration|武器演示视频]]来获得更多内容。}}
  | brass_beast
+
     | zh-hant = {{hatnote|請查看[[Team Fortress Wiki:Weapon Demonstration|武器示範影片專案]]以獲得更多細節。}}
  | brass beast                              = gR-NlhX2ABQ
+
   }}</ad> -->
  | buff_banner
+
}}<!--
  | buff banner                              = 6LP3Dj4TdAA
+
   -->{{#ifexist:Template:Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate|<!--
  | buffalo_steak_sandvich
+
     -->{{hatnote |<!--
  | buffalo steak sandvich                    = 3imdYzThvwk
+
      -->{{lang
     | bushwacka                              =  
+
        | en = <span style="color:red">Note:</span> This demonstration has been out of date since {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | candy_cane
+
        | cs = <span style="color:red">Poznámka:</span> Tato ukázka je zastaralá od {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | candy cane                                = D8BNwTgW3LU
+
        | da = <span style="color:red">Note:</span> Denne demonstration har været forældet siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | chargin%27_targe
+
        | de = <span style="color:red">Note:</span> Diese Demonstration ist veraltet seit {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
  | chargin' targe                            = pht7Iz9Hifo
+
        | es = <span style="color:red">Nota:</span> Esta demostración está desactualizada desde el {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}
    | claidheamh_m%C3%B2r
+
        | fi = <span style="color:red">Huomio:</span> Tämä esittely on vanhentunut {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
     | claidheamh mòr                          =  
+
        | fr = <span style="color:red">Remarque :</span> Cette démonstration est dépassée depuis le {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
    | cloak_and_dagger
+
        | hu = <span style="color:red">Jegyzet:</span> Ez a demonstráció elavult {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} óta.
    | cloak and dagger                        =
+
        | it = <span style="color:red">Nota:</span> Questa dimostrazione necessita di un aggiornamento dal {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
     | crit-a-cola                            =
+
        | ja = <span style="color:red">注:</span> この動画は{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}以前の古い情報が元になっています。
  | crusader%27s_crossbow
+
        | ko = <span style="color:red">알림:</span> 해상 시연 영상은 {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}} 이후로 더이상 유효하지 않습니다.
  | crusader's crossbow                      = iDNyokakdI8
+
        | nl = <span style="color:red">Opmerking:</span> Deze demonstratie is verouderd sinds {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | dalokohs_bar
+
        | no = <span style="color:red">Note:</span> Denne demonstrasjonen har blitt gammel siden {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | dalokohs bar                              = g9CBEu6Ay-Y
+
        | pl = <span style="color:red">Uwaga:</span> Ta demonstracja jest nieaktualna od {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
    | darwin%27s_danger_shield
+
        | pt-br = <span style="color:red">Observação:</span> Esta demonstração está desatualizada desde a {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
    | darwin's danger shield                  =
+
        | ro = <span style="color:red">Observație:</span> Această demonstrație este învechită din {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
    | dead_ringer
+
        | ru = <span style="color:red">Заметка:</span> Эта демонстрация устарела после {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
     | dead ringer                            =  
+
        | sv = <span style="color:red">Notering:</span> Denna demostration har blivit gammal sedan {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}.
  | degreaser                                = eIFHbrdWLoQ
+
        | zh-hant = <span style="color:red">注意:</span>這部示範影片已於{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}時過期。
  | direct_hit
+
        | zh-hans = <span style="color:red">注意:</span>此演示视频从{{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAME}}}}}}}-outdate}}开始都过期了。
  | direct hit                                = 2FljuERxHCw
+
      }}
     | disguise_kit
+
     }}
    | disguise kit                            =  
 
  | electro_sapper
 
  | electro sapper                            = c_WMvD8XtWI
 
     | enthusiast%27s_timepiece
 
    | enthusiast's timepiece                  =  
 
    | equalizer                              =
 
  | eyelander                                = O6T_XM_2MHA
 
   | fire_axe
 
  | fire axe                                  = r_V0WMDvN1U
 
   | fists                                    = WFJkeu8P4kg
 
  | fists_of_steel
 
  | fists of steel                            = 2BlEbPyM8Zk
 
  | flamethrower                              = ZW6-JgH1ymc
 
  | flare_gun
 
  | flare gun                                = LGhqrX42Dp0
 
  | force-a-nature                            = MGtqBNzH-bo
 
     | frontier_justice
 
    | frontier justice                        =
 
  | frying_pan
 
  | frying pan                                = TaE5-lZAsCw
 
  | gloves_of_running_urgently
 
  | gloves of running urgently                = QVWFGhj_fhA
 
    | golden_wrench
 
    | golden wrench                          =  
 
  | grenade_launcher
 
  | grenade launcher                          = iMrCrTRyrYI
 
  | gunboats                                  = TL3ELm2CCEc
 
  | gunslinger                                = Ks-uvNbKf68
 
  | holy_mackerel
 
  | holy mackerel                            = ISIoqu6DUOA
 
    | homewrecker                            =  
 
  | horseless_headless_horsemann%27s_headtaker
 
  | horseless headless horsemann's headtaker  = aU5BAKV7LQs
 
  | huntsman                                  = _sx1FBnw8Yk
 
  | invisibility_watch
 
  | invisibility watch                        =  
 
  | iron_curtain
 
  | iron curtain                              = Rv5gEkcZr9o
 
    | jag                                    =  
 
  | jarate                                    = 75s0H-iB7Xs
 
  | killing_gloves_of_boxing
 
  | killing gloves of boxing                  = HUd-tb5DT94
 
  | knife                                    = bPkxlXjNS70
 
    | kritzkrieg                              =
 
  | kukri                                    = MwUFTiB-0Qw
 
  | l%27etranger
 
  | l'etranger                                = VjlIXMqBShM
 
    | loch-n-load                            =
 
  | lugermorph                                = TLiobupPRg0
 
    | mad_milk
 
    | mad milk                                =  
 
    | medigun
 
    | medi_gun
 
    | medi gun                                =  
 
  | minigun                                  = aA_5cadW7u8
 
  | natascha                                  = eUJAcrx8AmM
 
  | pain_train
 
  | pain train                                = _pP2BWIoxVE
 
  | pistol                                    = 5kTDyz-a1A0
 
  | powerjack                                = C4ktemTaFZY
 
  | razorback                                = sMNpDdbIE68
 
  | revolver = Q19BNtf7Vcw
 
    | rocket_jumper
 
    | rocket jumper                          =  
 
  | rocket_launcher
 
  | rocket launcher                          = gQgFEHSh_4g
 
    | sandman                                =
 
    | sandvich                                =  
 
  | scattergun                                = y0A7D2ufqrU
 
  | scotsman%27s_skullcutter
 
  | scotsman's skullcutter                    = JUXNXxm8Vfk
 
    | scottish_resistance
 
    | scottish resistance                    =  
 
  | shortstop                                = DyJHfZNie34
 
  | shotgun                                  = sGX7kIGlYsU
 
  | shovel                                    = paztv4iaAGI
 
  | sniper_rifle
 
  | sniper rifle                              = kJ8dCDna87I
 
  | southern_hospitality
 
  | southern hospitality                      = N6NvriIWlbQ
 
    | sticky_jumper
 
    | sticky jumper                          =  
 
  | stickybomb_launcher
 
  | stickybomb launcher                      = fFATJS9bZ50
 
  | smg
 
  | submachine_gun
 
  | submachine gun                            = XYcwHec0Rbk
 
  | sydney_sleeper
 
  | sydney sleeper                            = O6Yx7yAlAoI
 
  | syringe_gun
 
  | syringe gun                              = ZssKWSLd1XE
 
  | tribalman%27s_shiv
 
  | tribalman's shiv                          = ckMHOh1DoUc
 
  | ullapool_caber
 
  | ullapool caber                            = 56UFKJHtSqA
 
    | vita-saw                                =  
 
  | warrior%27s_spirit
 
  | warrior's spirit                          = Ce2uw1lRU4s
 
  | wrangler                                  = LxwKD5cK4RM
 
    | wrench                                  =
 
     | your_eternal_reward
 
    | your eternal reward                    =
 
  | ubersaw
 
  | %C3%BCbersaw
 
  | %FCbersaw
 
  | übersaw                                  = K1b6vDTpVAs
 
 
   }}
 
   }}
  }}
+
{{#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>
 
}}</includeonly><noinclude>
{{translation switching|es, fi, fr, it, ja, ko, nl, pl, pt, pt-br, ro, ru, zh-hans, zh-hant}}
+
{{translation switching|en, de, es, fi, fr, it, ja, ko, nl, no, pl, ro, pt-br, ru, zh-hant, zh-hans}}
{{doc begin}}
+
{{template doc}}
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.
 
 
 
=== Usage ===
 
Simply place the template on the weapon article.
 
 
 
* {{tlx|Weapon Demonstration}} on the Scattergun article generates:
 
 
 
{{Weapon Demonstration|y0A7D2ufqrU}}
 
 
 
To manually choose a weapon video, insert the YouTube video ID as an unnamed parameter:
 
 
 
* {{tlx|Weapon Demonstration|y0A7D2ufqrU}}
 
 
 
[[Category:Templates|Weapon Demonstration]]
 
</noinclude>
 

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.