Difference between revisions of "Template:Robot loadout/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
(Clean up the massive if branches a little bit)
 
m
 
(One intermediate revision by one other user not shown)
Line 59: Line 59:
 
|{{{name|—}}}{{#if:{{{primary-skin|}}}
 
|{{{name|—}}}{{#if:{{{primary-skin|}}}
 
   <!-- Has primary skin -->
 
   <!-- Has primary skin -->
   |{{!!}}{{Item icon|{{common string|decorated item|{{{primary}}}|{{{primary-skin}}}}}|link={{{primary}}}}}<br />[[{{{primary}}}|{{common string|decorated item|{{{primary}}}|{{{primary-skin}}}}}]]
+
   |{{!!}}{{Item icon|{{{primary-skin}}} {{{primary}}}|link={{{primary}}}}}<br />[[{{{primary}}}|{{common string|decorated item|{{{primary}}}|{{{primary-skin}}}}}]]
 
   <!-- Does not have primary skin -->
 
   <!-- Does not have primary skin -->
 
   |{{#if:{{{primary|}}}|{{!!}}{{Item icon|{{{primary}}}}}<br />{{Item link|{{{primary}}}}}|}}
 
   |{{#if:{{{primary|}}}|{{!!}}{{Item icon|{{{primary}}}}}<br />{{Item link|{{{primary}}}}}|}}
 
}}{{#if:{{{secondary-skin|}}}
 
}}{{#if:{{{secondary-skin|}}}
 
   <!-- Has secondary skin -->
 
   <!-- Has secondary skin -->
   |{{!!}}{{Item icon|{{common string|decorated item|{{{secondary}}}|{{{secondary-skin}}}}}|link={{{secondary}}}}}<br />[[{{{secondary}}}|{{common string|decorated item|{{{secondary}}}|{{{secondary-skin}}}}}]]
+
   |{{!!}}{{Item icon|{{{secondary-skin}}} {{{secondary}}}|link={{{secondary}}}}}<br />[[{{{secondary}}}|{{common string|decorated item|{{{secondary}}}|{{{secondary-skin}}}}}]]
 
   <!-- Does not have secondary skin -->
 
   <!-- Does not have secondary skin -->
 
   |{{#if:{{{secondary|}}}|{{!!}}{{Item icon|{{{secondary}}}}}<br />{{Item link|{{{secondary}}}}}|}}
 
   |{{#if:{{{secondary|}}}|{{!!}}{{Item icon|{{{secondary}}}}}<br />{{Item link|{{{secondary}}}}}|}}
 
}}{{#if:{{{melee-skin|}}}
 
}}{{#if:{{{melee-skin|}}}
 
   <!-- Has melee skin -->
 
   <!-- Has melee skin -->
   |{{!!}}{{Item icon|{{common string|decorated item|{{{melee}}}|{{{melee-skin}}}}}|link={{{melee}}}}}<br />[[{{{melee}}}|{{common string|decorated item|{{{melee}}}|{{{melee-skin}}}}}]]
+
   |{{!!}}{{Item icon|{{{melee-skin}}} {{{melee}}}|link={{{melee}}}}}<br />[[{{{melee}}}|{{common string|decorated item|{{{melee}}}|{{{melee-skin}}}}}]]
 
   <!-- Does not have melee skin -->
 
   <!-- Does not have melee skin -->
 
   |{{#if:{{{melee|}}}|{{!!}}{{Item icon|{{{melee}}}}}<br />{{Item link|{{{melee}}}}}|}}
 
   |{{#if:{{{melee|}}}|{{!!}}{{Item icon|{{{melee}}}}}<br />{{Item link|{{{melee}}}}}|}}
Line 83: Line 83:
 
}}
 
}}
 
|style="text-align:left"|{{{attribs|&mdash;}}}
 
|style="text-align:left"|{{{attribs|&mdash;}}}
|}
+
|}<noinclude></noinclude>
 
 
<noinclude>{{translation switching|en, de, es, fi, fr, it, ja, ko, no, pl, pt, pt-br, ru, zh-hant, zh-hans}}</noinclude>
 

Latest revision as of 20:02, 30 January 2023

Icon Name Attributes