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

From Team Fortress Wiki
Jump to: navigation, search
m (Personal sandbox)
 
m
 
(2 intermediate revisions by 2 users not shown)
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>
Line 1,386: Line 1,386:
 
     // The following relies on functionality provided by the {{Backpack item}} template.
 
     // The following relies on functionality provided by the {{Backpack item}} template.
  
   -->{{Backpack item
+
   -->{{User:Stewart/Backpack item
 
  | file-link = yes
 
  | file-link = yes
 
  | custom-icon = {{{custom-icon|}}}
 
  | custom-icon = {{{custom-icon|}}}
Line 1,637: Line 1,637:
 
  --></includeonly><noinclude><!-- // END TEMPLATE. -->
 
  --></includeonly><noinclude><!-- // END TEMPLATE. -->
 
{{clr}}
 
{{clr}}
{{translation switching|all languages}}
+
<!--{{translation switching|all languages}}
 
{{documentation}}
 
{{documentation}}
[[Category:Infobox templates|Item infobox]]
+
[[Category:Infobox templates|Item infobox]]-->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:51, 8 March 2023