Template:SlotIcon: Difference between revisions

no edit summary
(created slot icons, not perfect but can do the job)
 
No edit summary
Line 1: Line 1:
A template for quickly displaying placeholders for items. For example, {{T|SlotIcon|head}} becomes {{SlotIcon|head}}.
Adding a second argument allows you to display some text. For example, {{T|SlotIcon|Head|No, it isn't a typo}} gives {{SlotIcon|head|No, it isn't a typo}}.
For a complete list of options, please refer to [[Template:Icon]].
'''TODO''': Icon names for slots are of the form <code>Slot_head</code>. Ideally we should be able to {{T|SlotIcon|Helmet}}, instead, which would make both the link and text look nice, but name mangling is not trivial.
Check [[Module:Equipment/Recommended]] for a full dictionary of the slots.
<includeonly><onlyinclude>{{Icon|Slot_{{{1}}}|{{{2| }}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|true}}}|noicon={{{noicon|}}}|menu={{{menu|}}}}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{Icon|Slot_{{{1}}}|{{{2| }}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|true}}}|noicon={{{noicon|}}}|menu={{{menu|}}}}}</onlyinclude></includeonly>
2,875

edits