Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item icon/insert

Template page
< Template:Item icon
Revision as of 06:14, 7 September 2023 by Sky (talk | contribs) (Remove name field for now)


Inserts an icon into the Cargo item_icon database. Enables use of Template:ItemIcon.

Usage:
{{ItemIcon Insert
|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.
}}

This template adds rows to the table "item_icon", which is declared by the template Item icon/insert. View table.