Difference between revisions of "Template:Icon"

From HomepointXI Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{PAGENAME}} ==Usage== This template is used to display various icons by passing one or two parameters. <pre>{{Icon|<element or icon>|<...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 98: Line 98:
 
| style="padding: 5px;" | {{Icon|Synergy|small}}
 
| style="padding: 5px;" | {{Icon|Synergy|small}}
 
|- style="background: #dddddd;"
 
|- style="background: #dddddd;"
| style="padding: 5px;" | <nowiki>{{Icon|Item Shop}}</nowiki>
 
| style="padding: 5px;" | {{Icon|Item Shop}}
 
 
|}
 
|}
 
{| style="spacing: 3px; border: 0px; text-align: center; vertical-align: middle;"
 
{| style="spacing: 3px; border: 0px; text-align: center; vertical-align: middle;"
Line 197: Line 195:
 
| style="padding: 5px;" | <nowiki>{{Icon|jobpoint}}</nowiki>
 
| style="padding: 5px;" | <nowiki>{{Icon|jobpoint}}</nowiki>
 
| style="padding: 5px;" | {{Icon|jobpoint}}
 
| style="padding: 5px;" | {{Icon|jobpoint}}
|}
 
{| style="spacing: 3px; border: 0px; text-align: center; vertical-align: middle;"
 
|- style="background: #999999;"
 
! style="text-align: center; vertical-align: middle; color: #ffffff;" colspan="2"| Default
 
|- style="background: #dddddd;"
 
| style="padding: 5px;" | <nowiki>{{Icon}}</nowiki>
 
| style="padding: 5px;" | {{Icon}}
 
 
|}
 
|}
 
</noinclude><includeonly>[[Image:{{ #switch: {{lc:{{{1}}}}}
 
</noinclude><includeonly>[[Image:{{ #switch: {{lc:{{{1}}}}}
Line 285: Line 276:
 
| shop
 
| shop
 
| item shop = Item Shop.png
 
| item shop = Item Shop.png
| key = Key Item.png
+
| key = KeyItem.png
 
| sandy
 
| sandy
 
| san doria
 
| san doria
Line 320: Line 311:
 
| light sc = Light SC Icon.png
 
| light sc = Light SC Icon.png
 
| dark sc = Dark SC Icon.png
 
| dark sc = Dark SC Icon.png
| #default = ItemImage.jpg
 
 
}}{{ #switch: {{lc: {{{2}}}}}
 
}}{{ #switch: {{lc: {{{2}}}}}
 
| whm = -WHM-Icon.gif
 
| whm = -WHM-Icon.gif

Latest revision as of 14:16, 14 July 2021

Usage

This template is used to display various icons by passing one or two parameters.

{{Icon|<element or icon>|<type or controls>}}
  • Some icons are represented by Element/Type pairs, such as crystals and spell icons; these require both parameters be used for definition.
  • The rest of the icons can stand on their own with a single parameter; the second parameter can be used to set one of three standard sizes, or omitted to display the image at its native size.

Following are examples illustrating the template's use.

Element-related Icons
{{Icon|Light|Crystal}} LightCrystal-Icon.gif
{{Icon|Light|brd}} Light-BRD-Icon.gif
{{Icon|Light|BLM}} Light-BLM-Icon.gif
{{Icon|Wind|whm}} Wind-WHM-Icon.gif
{{Icon|Fire|cor}} Fire-COR-Icon.gif
{{Icon|Lightning|nin}} Lightning-NIN-Icon.gif
{{Icon|Earth|blu}} Earth-BLU-Icon.gif
{{Icon|water|ja}} Water-JA-Icon.gif
{{Icon|Dark|weather}} Dark-Icon.png
{{Icon|light|icon}} Light-Icon.png
Maneuvers
{{Icon|fire maneuver}} Fire Maneuver.png
Item Flags
{{Icon|rare}} Rare-Icon.gif
{{Icon|Ex}} Ex-Icon.gif
{{Icon|TeMp}} Tmp-Icon.gif
{{Icon|Aug}} Augment-Icon.png
Guilds & Shops
{{Icon|Alchemy|medium}} Alchemy.gif
{{Icon|Bonecraft}} Bonecraft.gif
{{Icon|Clothcraft|small}} Clothcraft.gif
{{Icon|Cooking|small}} Cooking.gif
{{Icon|Goldsmithing|small}} Goldsmithing.gif
{{Icon|Fishing|large}} Fishing.gif
{{Icon|Leathercraft|small}} Leathercraft.gif
{{Icon|Smithing|small}} Smithing.gif
{{Icon|Woodworking|small}} Woodworking.gif
{{Icon|Synergy|small}} Synergy.gif
Nations & Organizations
{{Icon|Windurst|small}} Windurst-Flag.jpg
{{Icon|Bastok|medium}} Bastok-Flag.jpg
{{Icon|San d'Oria|large}} San d'Oria Flag.jpg
{{Icon|Jeuno|Large}} Jeuno-Flag.jpg
{{Icon|Tenshodo}} Tenshodo Flag.jpg
{{Icon|Chains of Promathia|large}} Tavnazia-Flag.jpg
{{Icon|Aht Urhgan|large}} AhtUrghan Icon.png
{{Icon|Adoulin|medium}} Adoulin Flag.jpg
{{Icon|Conquest}} Conquest.png
Combat-related
{{Icon|Two Hour}} Two-Hour ability
{{Icon|Blue!}} Blue.png
{{Icon|Red!|small}} Red.png
{{Icon|Grellow!}} Grellow.png
{{Icon|Yellow!}} Grellow.png
Skillchain Related
{{Icon|compression sc}} Compression SC Icon.png
{{Icon|fusion sc}} Fusion SC Icon.png
{{Icon|dark sc}} Dark SC Icon.png
Miscellaneous
{{Icon|Q}} Qmark.gif
{{Icon|yes}} Check.gif
{{Icon|No}} Eks.gif
{{Icon|Verification}} Verification.png
{{Icon|Trade}} Trade
{{Icon|Key}} KeyItem.png
{{Icon|Clock}} Steam Clock icon.png
{{Icon|Map}} Castle Floor Plans icon.png
{{Icon|meritpoint}} Merit Point-Icon.png
{{Icon|jobpoint}} Job Point-Icon.png