Difference between revisions of "Template:Item infobox"
m (*facepalm*) |
(added code to hide Giftability for Untradable items; removed doc template, as template documentation was deleted 3 months ago) |
||
Line 668: | Line 668: | ||
// they aren't tradable/giftable unless they are renamed. | // they aren't tradable/giftable unless they are renamed. | ||
--> | --> | ||
− | | {{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't trade taunts --> | + | | {{#ifeq:{{lc:{{{type|}}}}}|taunt|{{ns:0}}<!-- NULL: can't trade or gift taunts --> |
| <tr><!-- | | <tr><!-- | ||
Line 707: | Line 707: | ||
}}</td> | }}</td> | ||
</tr> | </tr> | ||
− | + | {{#ifeq:{{lc:{{{trade|}}}}}|no|{{ns:0}}<!-- NULL: can't gift untradable items --> | |
| <tr><!-- | | <tr><!-- | ||
Line 742: | Line 742: | ||
| no = {{common string|no}} | | no = {{common string|no}} | ||
| #default = {{{gift|}}} | | #default = {{{gift|}}} | ||
− | }}</td></tr>}}<!-- | + | }}</td></tr>}}}}<!-- |
// 'craft' | // 'craft' | ||
Line 1,472: | Line 1,472: | ||
| contents = This template '''MUST NOT''' be used on User pages. Please use [[Template:User item infobox]] instead. | | contents = This template '''MUST NOT''' be used on User pages. Please use [[Template:User item infobox]] instead. | ||
}} | }} | ||
− | |||
[[Category:Infobox templates|Item infobox]] | [[Category:Infobox templates|Item infobox]] |
Revision as of 02:19, 16 April 2017
This template is very complex. Please, sandbox any changes before making them. If you have questions about this template, feel free to ask on the IRC. |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Item infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, de, es, fr, hu, ja, ko, pl, ru, sv, tr, zh-hans (add) |
This template MUST NOT be used on User pages. Please use Template:User item infobox instead. |