Template:SmItemIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Adding 'alias' as used on RarityItem, for preferable layout for items without rarity.)
Line 1: Line 1:
<includeonly><onlyinclude>{{ItemIcon|name={{{1}}}|size=25|show_name=true}}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{ItemIcon|name={{{1}}}|size=25|show_name=true|alias={{{alias|}}}}}</onlyinclude></includeonly><noinclude>
Shorthand for <code><nowiki>{{ItemIcon|name=ITEM_NAME|size=25|show_name=true}}</nowiki></code>. See also [[Template:ItemIcon]].
Shorthand for <code><nowiki>{{ItemIcon|name=ITEM_NAME|size=25|show_name=true}}</nowiki></code>. See also [[Template:ItemIcon]].


See example: <code><nowiki>{{SmItemIcon|Potion of Healing}}</nowiki></code> {{SmItemIcon|Potion of Healing}}
See example: <code><nowiki>{{SmItemIcon|Potion of Healing}}</nowiki></code> {{SmItemIcon|Potion of Healing}}
</noinclude>
</noinclude>

Revision as of 23:55, 15 September 2023

Shorthand for {{ItemIcon|name=ITEM_NAME|size=25|show_name=true}}. See also Template:ItemIcon.

See example: {{SmItemIcon|Potion of Healing}} Potion of Healing