Difference between revisions of "Template:Weapon Demonstration"

From Team Fortress Wiki
Jump to: navigation, search
m (i keel dis wiki)
m (Well I hope this is gonna work)
Line 20: Line 20:
 
{{{{#if:{{{tn|}}}|youtube_tn|youtube}}|width={{{width|640}}}|widths={{{widths|360-480-512-640}}}|hd={{{hd|on}}}|ratio={{{ratio|16x9}}}|1={{#if:{{{1|}}}
 
{{{{#if:{{{tn|}}}|youtube_tn|youtube}}|width={{{width|640}}}|widths={{{widths|360-480-512-640}}}|hd={{{hd|on}}}|ratio={{{ratio|16x9}}}|1={{#if:{{{1|}}}
 
  | {{{1}}}
 
  | {{{1}}}
  | {{#switch:{{lc:{{{weapon|{{BASEPAGENAMEE}}}}}}}
+
  | {{Dictionary/demonstrations/{{lc:{{{weapon|{{BASEPAGENAMEE}}}}}}}}}
  | ambassador                                = Z7zgQk5R-mY
 
  | amputator                                = -leou2cEG5w
 
  | axtinguisher                              = n9j73qLYCks
 
  | backburner                                = Uaa9bt6xaek
 
  | back_scratcher
 
  | back scratcher                            = LAXKbXxR0WU
 
  | bat                                      = c2PgbTm21d4
 
  | battalion%27s_backup
 
  | battalion's backup                        = v-pKb-gFV2Y
 
  | big_kill
 
  | big kill                                  = 1zo0IuJKfWM
 
  | black_box
 
  | black box                                = LjnRZ0KQkKk
 
  | blutsauger                                = o60sz4FnO4o
 
  | bonesaw                                  = PKOpzeWuUQE
 
  | bonk!_atomic_punch
 
  | bonk! atomic punch                        = ie9yIzZFUwc
 
  | boston_basher
 
  | boston basher                            = f3Bq2l-B29Q
 
  | bottle                                    = m9W_CO4F5D4
 
  | brass_beast
 
  | brass beast                              = agaznwFw9RY
 
  | buff_banner
 
  | buff banner                              = 14uan_xB4MA
 
  | buffalo_steak_sandvich
 
  | buffalo steak sandvich                    = TtVNKgDKN1w
 
  | bushwacka                                = YLb-joOg0Qo
 
  | candy_cane
 
  | candy cane                                = huZH43XpyNo
 
  | chargin%27_targe
 
  | chargin' targe                            = qYzHCCw-8nA
 
  | claidheamh_m%c3%b2r
 
  | claidheamh mòr                            = gFGatteLiyg
 
  | cloak_and_dagger
 
  | cloak and dagger                          =
 
  | conniver's kunai
 
  | conniver%27s_kunai                        = jhRArmwvtyw
 
  | crit-a-cola                              = mLI-cQHvXUI
 
  | crusader%27s_crossbow
 
  | crusader's crossbow                      = bcNg_YhdqjU
 
  | dalokohs_bar
 
  | dalokohs bar                              = g9CBEu6Ay-Y
 
  | darwin%27s_danger_shield
 
  | darwin's danger shield                    = YQkUZ-GsUVU
 
  | dead_ringer
 
  | dead ringer                              =
 
  | degreaser                                = uVxyMt7saPc
 
  | direct_hit
 
  | direct hit                                = Ep6sZZx2D0E
 
  | disguise_kit
 
  | disguise kit                              =
 
  | electro_sapper
 
  | electro sapper                            = c_WMvD8XtWI
 
  | enthusiast%27s_timepiece
 
  | enthusiast's timepiece                    = lylZ4y_dMA0
 
  | equalizer                                = rR-cfjQo9j4
 
  | eyelander                                = O6T_XM_2MHA
 
  | fan o'war
 
  | fan_o%27war                              = FZ8o6Y4261U
 
  | fire_axe
 
  | fire axe                                  = r_V0WMDvN1U
 
  | fists                                    = WFJkeu8P4kg
 
  | fists_of_steel
 
  | fists of steel                            = zBajOMx4ESE
 
  | flamethrower                              = ZW6-JgH1ymc
 
  | flare_gun
 
  | flare gun                                = LGhqrX42Dp0
 
  | force-a-nature                            = CGb41eX0cYE
 
  | frontier_justice
 
  | frontier justice                          = qaSGt_ktDeI
 
  | frying_pan
 
  | frying pan                                = TaE5-lZAsCw
 
  | gloves_of_running_urgently
 
  | gloves of running urgently                = RZZZOa5UNmQ
 
  | golden_wrench
 
  | golden wrench                            = hBlg2-DKkSw
 
  | grenade_launcher
 
  | grenade launcher                          = 43knjJKYzOs
 
  | gunboats                                  = TL3ELm2CCEc
 
  | gunslinger                                = MQ17MWCkbVE
 
  | half-zatoichi                            = XqL2ri0711M
 
  | holy_mackerel
 
  | holy mackerel                            = ISIoqu6DUOA
 
  | homewrecker                              = R5S9pXjOXSo
 
  | horseless_headless_horsemann%27s_headtaker
 
  | horseless headless horsemann's headtaker  = aU5BAKV7LQs
 
  | huntsman                                  = _sx1FBnw8Yk
 
  | invisibility_watch
 
  | invisibility watch                        = l_WxyAtpLpQ
 
  | iron_curtain
 
  | iron curtain                              = 9XeiNNy8eo0
 
  | jag                                      = N2-zr1Ti1l4
 
  | jarate                                    = hMnAslTQ3og
 
  | killing_gloves_of_boxing
 
  | killing gloves of boxing                  = lpsyiF1gadI
 
  | knife                                    = bPkxlXjNS70
 
  | kritzkrieg                                = eCQV2owJkpE
 
  | kukri                                    = MwUFTiB-0Qw
 
  | l%27etranger
 
  | l'etranger                                = VjlIXMqBShM
 
  | loch-n-load                            = T5-hGp9CX10
 
  | lugermorph                                = TLiobupPRg0
 
  | mad_milk
 
  | mad milk                                  = 64d17LVKYo4
 
  | medigun
 
  | medi_gun
 
  | medi gun                                  =
 
  | minigun                                  = 2dSaZOkffEg
 
  | natascha                                  = Aa1aPD2Ppgg
 
  | pain_train
 
  | pain train                                = JUkgJRDqj1w
 
  | pda                                      = ZG0TYbJfgiU
 
  | pistol                                    = 5kTDyz-a1A0
 
  | powerjack                                = C4ktemTaFZY
 
  | razorback                                = sMNpDdbIE68
 
  | revolver                                  = Q19BNtf7Vcw
 
  | rocket_jumper
 
  | rocket jumper                            = XIcmPL58rS8
 
  | rocket_launcher
 
  | rocket launcher                          = VHCLq41gsD0
 
  | sandman                                  = 3RFIBt_tx_o
 
  | sandvich                                  =
 
  | scattergun                                = y0A7D2ufqrU
 
  | scotsman%27s_skullcutter
 
  | scotsman's skullcutter                    = JUXNXxm8Vfk
 
  | scottish_resistance
 
  | scottish resistance                      = Ju3mahC9NOI
 
  | sharpened_volcano_fragment
 
  | sharpened volcano fragment                = clGBLuK8Ky8
 
  | shortstop                                = DyJHfZNie34
 
  | shotgun                                  = sGX7kIGlYsU
 
  | shovel                                    = paztv4iaAGI
 
  | sniper_rifle
 
  | sniper rifle                              = kJ8dCDna87I
 
  | southern_hospitality
 
  | southern hospitality                      = oA6DLQqchLE
 
  | sticky_jumper
 
  | sticky jumper                            = boFWxjQoGAw
 
  | stickybomb_launcher
 
  | stickybomb launcher                      = 4o_Z6UefuzY
 
  | smg
 
  | submachine_gun
 
  | submachine gun                            = XYcwHec0Rbk
 
  | sun-on-a-stick                            = TiiG8HmSbbw
 
  | sydney_sleeper
 
  | sydney sleeper                            = O6Yx7yAlAoI
 
  | syringe_gun
 
  | syringe gun                              = ZssKWSLd1XE
 
  | tribalman%27s_shiv
 
  | tribalman's shiv                          = ckMHOh1DoUc
 
  | ullapool_caber
 
  | ullapool caber                            = vH1X5BnDpDQ
 
  | vita-saw                                  = 25sJFMMCJTU
 
  | warrior%27s_spirit
 
  | warrior's spirit                          = 8UGAnQ2Yj_M
 
  | wrangler                                  = LxwKD5cK4RM
 
  | wrench                                    = Psvf4sbQaJE
 
  | your_eternal_reward
 
  | your eternal reward                      = LHztvH_cnMU
 
  | ubersaw
 
  | %c3%bcbersaw
 
  | %c3%9cbersaw
 
  | %fcbersaw
 
  | Übersaw
 
  | übersaw                                  = K1b6vDTpVAs
 
  | the expert's ordnance                    = WfnVItnmOIo
 
  | the gas jockey's gear                    = zVCMNAu8ET8
 
  | the hibernating bear                      = 1dCGH3X3JNk
 
  | the medieval medic                        = KVMbfbSwZCo
 
  | the special delivery                      = 8Dxrf0DzrCw
 
  }}
 
}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{translation switching|ar, es, fi, fr, it, ja, ko, nl, pl, pt, pt-br, ro, ru, zh-hans, zh-hant}}
 
{{translation switching|ar, es, fi, fr, it, ja, ko, nl, pl, pt, pt-br, ro, ru, zh-hans, zh-hant}}

Revision as of 21:29, 21 March 2011

Documentation for Weapon Demonstration

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

Usage

Simply place the template on the weapon article.

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 remove the header, add the noheader parameter:

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

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