Ad 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
tables=item_icon
  |fields=TRIM(icon)
|fields=TRIM(icon),CONCAT('', '{{{size|40}}}')
  |where=item_icon.name='{{{name}}}'
|where=item_icon.name='{{{name}}}'
  |limit=1
|limit=1
  |default=
|order by=item_icon.name
  |template=ItemIcon Internal
|default=
  |more results text=
|more results text=
}}{{#if:{{{showname|}}}|[[{{{name}}}]] }}</onlyinclude></includeonly><noinclude>
|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=24}}
{{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>

Navigation menu