Difference between revisions of "User:Stewart/Item infobox"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Removing broken template Yesno.)
Line 869: Line 869:
 
   --><td class="infobox-data">{{#switch:{{lc:{{{trade|¬}}}}}
 
   --><td class="infobox-data">{{#switch:{{lc:{{{trade|¬}}}}}
 
  | ¬
 
  | ¬
  | yes = {{yesno|yes}}
+
  | yes = {{common string|yes}}
  | no  = {{yesno|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
+
  | no  = {{common string|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
 
   | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
   | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
   | {{lang cat|Untradeable items}}
 
   | {{lang cat|Untradeable items}}
Line 909: Line 909:
 
   --><td class="infobox-data">{{#switch:{{lc:{{{gift|¬}}}}}
 
   --><td class="infobox-data">{{#switch:{{lc:{{{gift|¬}}}}}
 
  | ¬
 
  | ¬
  | yes = {{yesno|yes}}
+
  | yes = {{common string|yes}}
  | no  = {{yesno|no}}
+
  | no  = {{common string|no}}
 
  | #default = {{{gift|}}}
 
  | #default = {{{gift|}}}
 
  }}</td>
 
  }}</td>
Line 948: Line 948:
 
   --><td class="infobox-data">{{#switch:{{lc:{{{craft|¬}}}}}
 
   --><td class="infobox-data">{{#switch:{{lc:{{{craft|¬}}}}}
 
   | ¬
 
   | ¬
   | yes = {{yesno|yes}}
+
   | yes = {{common string|yes}}
   | no  = {{yesno|no}}
+
   | no  = {{common string|no}}
 
   | #default = {{{craft|}}}
 
   | #default = {{{craft|}}}
 
   }}</td>
 
   }}</td>
Line 995: Line 995:
 
         }}
 
         }}
 
   | ¬
 
   | ¬
   | yes = {{yesno|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
+
   | yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{lang cat|Paintable items}}
 
     | {{lang cat|Paintable items}}
 
     }}</includeonly>
 
     }}</includeonly>
   | no  = {{yesno|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
+
   | no  = {{common string|no}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{#switch:{{lc:{{{type|}}}}}
 
     | {{#switch:{{lc:{{{type|}}}}}
Line 1,047: Line 1,047:
 
   --><td class="infobox-data">{{#switch:{{lc:{{{rename|¬}}}}}
 
   --><td class="infobox-data">{{#switch:{{lc:{{{rename|¬}}}}}
 
  | ¬
 
  | ¬
  | yes = {{yesno|yes}}
+
  | yes = {{common string|yes}}
  | no  = {{yesno|no}}
+
  | no  = {{common string|no}}
 
  | #default = {{{rename|}}}
 
  | #default = {{{rename|}}}
 
  }}</td>
 
  }}</td>
Line 1,082: Line 1,082:
 
   --><td class="infobox-data">{{#switch:{{lc:{{{numbered|¬}}}}}
 
   --><td class="infobox-data">{{#switch:{{lc:{{{numbered|¬}}}}}
 
  | ¬
 
  | ¬
  | yes = {{yesno|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
+
  | yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{lang cat|Craft numbered items}}
 
     | {{lang cat|Craft numbered items}}
 
     }}</includeonly>
 
     }}</includeonly>
  | no  = {{yesno|no}}
+
  | no  = {{common string|no}}
 
  | #default = {{{numbered|}}}
 
  | #default = {{{numbered|}}}
 
  }}</td>
 
  }}</td>
Line 1,142: Line 1,142:
 
     }}
 
     }}
 
     | ¬
 
     | ¬
     | yes = {{yesno|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
+
     | yes = {{common string|yes}}<includeonly>{{#if:{{{cat|}}}<!-- # CATEGORY INLINE HOOK -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{ns:0}}<!-- Disable if 'cat' is defined. -->
 
     | {{lang cat|Medieval weapons}}
 
     | {{lang cat|Medieval weapons}}
 
     }}</includeonly>
 
     }}</includeonly>
     | no  = {{yesno|no}}
+
     | no  = {{common string|no}}
     | #default = {{{medieval|{{yesno|yes}}}}}
+
     | #default = {{{medieval|{{common string|yes}}}}}
 
     }}</td>
 
     }}</td>
 
   </tr>
 
   </tr>

Revision as of 16:55, 1 November 2013