6,366
editsAd placeholder
Template:Item icon/doc: Difference between revisions
Jump to navigation
Jump to search
Edit no_padding description
(add alias doc) |
(Edit no_padding description) |
||
Line 8: | Line 8: | ||
|show_name=(optional) Whether to show the name. Any value will show the name of the item as a link. Omit to hide it. | |show_name=(optional) Whether to show the name. Any value will show the name of the item as a link. Omit to hide it. | ||
|show_rarity=(optional) Whether to add a border and background to the icon according to the item's rarity. Omit to not show it. | |show_rarity=(optional) Whether to add a border and background to the icon according to the item's rarity. Omit to not show it. | ||
|no_padding=(optional) If specified, does not insert | |no_padding=(optional) If specified, does not insert margin to the left and right of the ItemIcon. Recommended for use in tables, lists, and start of paragraphs. | ||
|override_icon=(optional) If specified, skips looking up the Cargo table and inserts the specified icon directly. Must also specify '''override_rarity'''. | |override_icon=(optional) If specified, skips looking up the Cargo table and inserts the specified icon directly. Must also specify '''override_rarity'''. | ||
|override_rarity=(optional) When specified with '''override_icon''', will set the rarity of the displayed item. | |override_rarity=(optional) When specified with '''override_icon''', will set the rarity of the displayed item. |