Difference between revisions of "Template:Icon"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><span class="Icon">[[File:{{ucfirst:{{{1}}}}}.png|link={{{1}}}]]{{#ifeq:{{{2}}}|w|{{{1}}}}}</span></includeonly><noinclude>{{/doc}}</noinclude>")
 
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span class="Icon">[[File:{{ucfirst:{{{1}}}}}.png|link={{{1}}}]]{{#ifeq:{{{2}}}|w|{{{1}}}}}</span></includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>[[File:{{lc:{{{2|{{{1}}}}}} }} icon1.png|40px|link={{{1}}}]]</includeonly><noinclude>
A template to inline the icon for an item. An optional second parameter gives the icon's name, if different from the linked page's name.
 
<pre>{{Icon|Enhanced Dexterity II (Rogue)|Enhanced Dexterity II}}</pre>
 
*{{Icon|Enhanced Dexterity II (Rogue)|Enhanced Dexterity II}}
</noinclude>

Latest revision as of 18:43, 26 January 2023

A template to inline the icon for an item. An optional second parameter gives the icon's name, if different from the linked page's name.

{{Icon|Enhanced Dexterity II (Rogue)|Enhanced Dexterity II}}
  • Enhanced dexterity ii icon1.png