6,366
editsAdd rarity
(Remove name field for now) |
(Add rarity) |
||
Line 2: | Line 2: | ||
_table:item_icon | _table:item_icon | ||
|icon={{#if:{{{icon|}}}|{{{icon}}}|{{{image|}}} }} | |icon={{#if:{{{icon|}}}|{{{icon}}}|{{{image|}}} }} | ||
|rarity={{{rarity|common}}} | |||
}}</onlyinclude></includeonly><noinclude> | }}</onlyinclude></includeonly><noinclude> | ||
Line 9: | Line 10: | ||
|icon=filename of the icon to use, without the File: prefix | |icon=filename of the icon to use, without the File: prefix | ||
|image=(optional) filename of the image to use as an icon, without the File: prefix. Overridden if "icon" is defined. Used for item template pages which may have an image configured but not an icon. | |image=(optional) filename of the image to use as an icon, without the File: prefix. Overridden if "icon" is defined. Used for item template pages which may have an image configured but not an icon. | ||
|rarity=the rarity of the item. One of (common,uncommon,rare, very rare,legendary,story). Defaults to common if not specified. | |||
}}</pre> | }}</pre> | ||
{{#cargo_attach:_table=item_icon}} | {{#cargo_attach:_table=item_icon}} | ||
</noinclude> | </noinclude> |