Difference between revisions of "User:Upgrade/Toolbox/4"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "{|class="wikitable collapsible {{{state|uncollapsed}}}" width="100%" cellpadding=2 style="text-align:center;" ! colspan="2" style="background:#F3A957;" | {{lang | en = Upgrade S...")
 
Line 1: Line 1:
{|class="wikitable collapsible {{{state|uncollapsed}}}" width="100%" cellpadding=2 style="text-align:center;"
+
{{#switch: {{lc:{{{1|}}}}}//switch statement is useless here. just make code to create the submenu
! colspan="2" style="background:#F3A957;" | {{lang
+
//parameters: achievment picture, text, must return the number, this one will use the tabs to choose radio buttons
| en = Upgrade Station Information
+
| yes = [[File:P Have.png|16px|text-top|{{lang
}}
+
  | en = This part can be used on this item.
|-
+
  }}]]
| style="width:100px;" rowspan=2 valign="top"|
+
<!--- Return Nothing --->
{{Backpack item
+
}}<noinclude>
| file-link = yes
 
| custom-icon = {{{custom-icon|}}}
 
| quality = unique
 
| prefix = {{{prefix|}}}
 
| suffix = {{{suffix|}}}
 
| item-name = {{BASEPAGENAME}}
 
| item-name-local = {{#if:{{{item-name|}}}|{{{item-name|}}}}}
 
}}  
 
  
{|class="wikitable" width="100%" cellpadding=2 style="text-align:center; border:none;"
+
== Description ==
! colspan="19" style="background:#f9d483;"| {{lang
+
<pre>
  | en = Applicable [[Upgrade Station|Upgrades]]
+
{{upgradeisavailable|yes/<nothing>}}
  }}
+
</pre>
|-
+
Generates the appropriate submenu or return nothin
| style="background:#fef5e0;" | [[Image:Tf_demoman_kill_x_with_directpipe.png|60px]]
+
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
+
=== Parameters ===
| style="background:#fef5e0;" | {{icon item|Strange Part Enemies Gibbed|63px}}
+
:* {{upgradeisavailable|yes}} {{code|yes}} - upgrade submenu shows up
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal gib damage|{{{all|no}}}}}}}}
+
:* {{upgradeisavailable|}} - Default, upgrade submenu does not show up
| style="background:#fef5e0;" | {{icon item|Strange Part Heavies Killed|63px}}
+
{{translation switching|en, cs, da, ja, ru}}
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Buildings Destroyed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal building damage|{{{can deal damage|{{{all|yes}}}}}}}}}}}
 
|- valign="center"
 
| width="150px" colspan="2" style="background:#ebe2ca" | [[Upgrade Station|Damage Increase]]
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Enemies Gibbed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Heavies Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Buildings Destroyed}}
 
|-
 
| style="background:#fef5e0;" | {{icon item|Strange Part Headshot Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can headshot|{{{all|no}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Projectiles Reflected|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can reflect projectiles|{{{all|no}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Allies Extinguished|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can extinguish|{{{all|no}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Posthumous Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal posthumous damage|{{{all|no}}}}}}}}
 
|-
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Headshot Kills}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Projectiles Reflected}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Allies Extinguished}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Posthumous Kills}}
 
|-
 
| style="background:#fef5e0;" | {{icon item|Strange Part Critical Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal critical damage|{{{can deal damage|{{{all|yes}}}}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Demomen Killed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Revenge Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Domination Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
|-
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Critical Kills}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Demomen Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Revenge Kills}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Domination Kills}}
 
|-
 
| style="background:#fef5e0;" | {{icon item|Strange Part Kills While Explosive Jumping|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can be equipped by soldier or demo|{{{all|no}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Soldiers Killed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Full Moon Kills|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Scouts Killed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
|-
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Kills While Explosive Jumping}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Soldiers Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Full Moon Kills}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Scouts Killed}}
 
|-
 
| style="background:#fef5e0;" | {{icon item|Strange Part Cloaked Spies Killed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can deal damage|{{{all|yes}}}}}}}}
 
| style="background:#fef5e0;" | {{icon item|Strange Part Sappers Destroyed|63px}}
 
| style="background:#2a2725;color:#ebe2ca;width:2em;" | {{canbeusedwithpart|{{{can destroy sappers|{{{all|no}}}}}}}}
 
|-
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Cloaked Spies Killed}}
 
| width="150px" colspan="2" style="background:#ebe2ca" | {{item link|Strange Part Sappers Destroyed}}
 
|-
 
|}
 
|}
 
<noinclude>
 
{{clr}}
 
{{translation switching|en, cs, es, da, fr, hu, it, ru, pt-br, zh-hant}}
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 07:25, 6 October 2012


Description

{{upgradeisavailable|yes/<nothing>}}

Generates the appropriate submenu or return nothin

Parameters