6,366
editsAd placeholder
Template:Item icon: Difference between revisions
Jump to navigation
Jump to search
Fix up again
No edit summary |
(Fix up again) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#cargo_query: | <includeonly><onlyinclude>{{#cargo_query: | ||
tables=item_icon | |||
|fields=TRIM(icon),CONCAT('', '{{{size|40}}}') | |||
|where=item_icon.name='{{{name}}}' | |||
|limit=1 | |||
|order by=item_icon.name | |||
|default= | |||
|more results text= | |||
}}{{#if:{{{ | |format=template | ||
|template=ItemIcon Internal | |||
}}{{#if:{{{show_name|}}}|[[{{{name}}}]] }}</onlyinclude></includeonly><noinclude> | |||
<!-- Cargo table definition --> | <!-- Cargo table definition --> | ||
Line 32: | Line 34: | ||
== Examples == | == Examples == | ||
{{ItemIcon|name=Potion of Healing}} | {{ItemIcon|name=Potion of Healing}} | ||
{{ItemIcon|name=Potion of Healing|size= | {{ItemIcon|name=Potion of Healing|size=30}} | ||
{{ItemIcon|name=Potion of Healing|show_name=true}} | {{ItemIcon|name=Potion of Healing|size=24|show_name=true}} | ||
</noinclude> | </noinclude> |