Template:Item icon: Difference between revisions
From Space Station 14 Wiki
Template:Item icon
(replaced logic with a module lookup) |
(template styles) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><templatestyles src="Item icon/styles.css" /><!-- | |||
-->{{#vardefine: icon_size|{{{size|24px}}}}}<!-- | -->{{#vardefine: icon_size|{{{size|24px}}}}}<!-- | ||
Line 18: | Line 20: | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{docs}} | {{docs|bb= | ||
{{uses template styles}} | |||
}} | |||
[[Category:Image templates]] | [[Category:Image templates]] |
Revision as of 21:24, 15 August 2024
Uses template styles
This template uses template styles found in:
Examples
{{item icon
↓
Script error: The function "lookup_item_id_by_name" does not exist.
A list of all items with icons
Contains all items with icons. Updates automatically.
Script error: The function "generate_item_icons_for_all_items_with_icons" does not exist.
Errors
Unknown item
{{item icon
↓
Script error: The function "lookup_item_id_by_name" does not exist.
No image defined for item
{{item icon
↓
Script error: The function "lookup_item_id_by_name" does not exist.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 | What item are you looking for? Any casing is allowed, including lowercase.
| Line | required |
Size | size | Icon size
| Line | suggested |
Label | label l | Label override. | Line | suggested |