Ad placeholder

Template:Item icon/doc: Difference between revisions

Jump to navigation Jump to search
→‎Icon does not show up: add another case to troubleshoot
(→‎Wrap override: fix icons)
(→‎Icon does not show up: add another case to troubleshoot)
Line 74: Line 74:
* Check that the name is provided correctly.
* Check that the name is provided correctly.
: Refer to the template you are using. [[Template:ItemIcon]] requires the name to be provided as the <code>name=</code> parameter, while other templates might use anonymous parameters.
: Refer to the template you are using. [[Template:ItemIcon]] requires the name to be provided as the <code>name=</code> parameter, while other templates might use anonymous parameters.
: Also make sure that the item is spelled correctly. '''ItemIcon''' is unaware of redirects, which can cause a missing icon link when the page link works fine.
* Check that the page exists
* Check that the page exists
: The page must exist and use [[Template:MiscItemPage]], [[Template:EquipmentPage]], [[Template:WeaponPage]], or [[Template:ItemIcon Insert]]. Technically, you could also insert directly into the <code>item_icon</code> Cargo table, but please don't do that without good reason.
: The page must exist and use [[Template:MiscItemPage]], [[Template:EquipmentPage]], [[Template:WeaponPage]], or [[Template:ItemIcon Insert]]. Technically, you could also insert directly into the <code>item_icon</code> Cargo table, but please don't do that without good reason.

Navigation menu