Difference between revisions of "Template:Item infobox"

From Team Fortress Wiki
Jump to: navigation, search
(added code to hide Giftability for Untradable items; removed doc template, as template documentation was deleted 3 months ago)
(deprecating the gift parameter since there are only 3 tradable items that cannot be giftwrapped)
Line 737: Line 737:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
   | zh-hant = {{tooltip|禮品包裝|該項目是否能夠使用禮品包裝道具包裝。}}:
 
   }}]]</td><!--  
 
   }}]]</td><!--  
   --><td class="infobox-data">{{#switch:{{lc:{{{gift|¬}}}}}
+
   --><td class="infobox-data">{{#switch:{{BASEPAGENAME}}
  | ¬
+
  | Gift Wrap
  | yes = {{common string|yes}}
+
  | Giftapult
  | no  = {{common string|no}}
+
  | Description Tag = {{common string|no}}
  | #default = {{{gift|}}}
+
  | #default = {{common string|yes}}
 
  }}</td></tr>}}}}<!--  
 
  }}</td></tr>}}}}<!--  
  

Revision as of 19:44, 1 June 2017