Template:Icon: Difference between revisions

From HorizonXI Wiki
m (updated graphic file names, spaces replaced with underscore)
(added documentation and a list of all available icons)
Line 1: Line 1:
<includeonly>[[File:{{#switch:{{lc:{{{1}}}}}
<includeonly><onlyinclude>[[File:{{#switch:{{lc:{{{1}}}}}
| bastok =  Ffxi_flg_01l.jpg
| bastok =  Ffxi_flg_01l.jpg
| windurst = Ffxi_flg_02l.jpg
| windurst = Ffxi_flg_02l.jpg
Line 24: Line 24:
| medium = 36px
| medium = 36px
| large = 72px
| large = 72px
}}]]</includeonly>
}}]]</onlyinclude></includeonly>
==Usage==
* First parameter is which icon you want to display
* Second parameter (optional) is the size of the icon
 
===Syntax===
<pre>{{Icon|<command>|small/medium/large}}</pre>
 
===Available Icons===
{| class="horizon-table center-col-1 center-col-2 center-col-3 center-col-4"
! command || small || medium<br>(default) || large
|-
| bastok || {{Icon|bastok|small}} || {{Icon|bastok|medium}} || {{Icon|bastok|large}}
|-
| windurst || {{Icon|windurst|small}} || {{Icon|windurst|medium}} || {{Icon|windurst|large}}
|-
| san d'oria || {{Icon|san d'oria|small}} || {{Icon|san d'oria|medium}} || {{Icon|san d'oria|large}}
|-
| jeuno || {{Icon|jeuno|small}} || {{Icon|jeuno|medium}} || {{Icon|jeuno|large}}
|-
| alchemy || {{Icon|alchemy|small}} || {{Icon|alchemy|medium}} || {{Icon|alchemy|large}}
|-
| bonecraft || {{Icon|bonecraft|small}} || {{Icon|bonecraft|medium}} || {{Icon|bonecraft|large}}
|-
| clothcraft || {{Icon|clothcraft|small}} || {{Icon|clothcraft|medium}} || {{Icon|clothcraft|large}}
|-
| cooking || {{Icon|cooking|small}} || {{Icon|cooking|medium}} || {{Icon|cooking|large}}
|-
| fishing || {{Icon|fishing|small}} || {{Icon|fishing|medium}} || {{Icon|fishing|large}}
|-
| goldsmithing || {{Icon|goldsmithing|small}} || {{Icon|goldsmithing|medium}} || {{Icon|goldsmithing|large}}
|-
| leathercraft || {{Icon|leathercraft|small}} || {{Icon|leathercraft|medium}} || {{Icon|leathercraft|large}}
|-
| smithing || {{Icon|smithing|small}} || {{Icon|smithing|medium}} || {{Icon|smithing|large}}
|-
| woodworking || {{Icon|woodworking|small}} || {{Icon|woodworking|medium}} || {{Icon|woodworking|large}}
|-
| synergy || {{Icon|synergy|small}} || {{Icon|synergy|medium}} || {{Icon|synergy|large}}
|-
| chocobo digging || {{Icon|chocobo digging|small}} || {{Icon|chocobo digging|medium}} || {{Icon|chocobo digging|large}}
|-
| blue casket || {{Icon|blue casket|small}} || {{Icon|blue casket|medium}} || {{Icon|blue casket|large}}
|-
| brown casket || {{Icon|brown casket|small}} || {{Icon|brown casket|medium}} || {{Icon|brown casket|large}}
|-
| fished up || {{Icon|fished up|small}} || {{Icon|fished up|medium}} || {{Icon|fished up|large}}
|}

Revision as of 12:57, 15 March 2024

Usage

  • First parameter is which icon you want to display
  • Second parameter (optional) is the size of the icon

Syntax

{{Icon|<command>|small/medium/large}}

Available Icons

command small medium
(default)
large
bastok File:Ffxi flg 01l.jpg File:Ffxi flg 01l.jpg File:Ffxi flg 01l.jpg
windurst File:Ffxi flg 02l.jpg File:Ffxi flg 02l.jpg File:Ffxi flg 02l.jpg
san d'oria File:Ffxi flg 03l.jpg File:Ffxi flg 03l.jpg File:Ffxi flg 03l.jpg
jeuno File:Ffxi flg 04l.jpg File:Ffxi flg 04l.jpg File:Ffxi flg 04l.jpg
alchemy File:Ffxi gld 09.gif File:Ffxi gld 09.gif File:Ffxi gld 09.gif
bonecraft File:Ffxi gld 02.gif File:Ffxi gld 02.gif File:Ffxi gld 02.gif
clothcraft File:Ffxi gld 03.gif File:Ffxi gld 03.gif File:Ffxi gld 03.gif
cooking File:Ffxi gld 06.gif File:Ffxi gld 06.gif File:Ffxi gld 06.gif
fishing File:Ffxi gld 01.gif File:Ffxi gld 01.gif File:Ffxi gld 01.gif
goldsmithing File:Ffxi gld 05.gif File:Ffxi gld 05.gif File:Ffxi gld 05.gif
leathercraft File:Ffxi gld 07.gif File:Ffxi gld 07.gif File:Ffxi gld 07.gif
smithing File:Ffxi gld 04.gif File:Ffxi gld 04.gif File:Ffxi gld 04.gif
woodworking File:Ffxi gld 08.gif File:Ffxi gld 08.gif File:Ffxi gld 08.gif
synergy File:Synergy.gif File:Synergy.gif File:Synergy.gif
chocobo digging File:Chocodig.gif File:Chocodig.gif File:Chocodig.gif
blue casket File:Icon BlCas.png File:Icon BlCas.png File:Icon BlCas.png
brown casket File:Icon BrCas.png File:Icon BrCas.png File:Icon BrCas.png
fished up File:Icon FishedUp.png File:Icon FishedUp.png File:Icon FishedUp.png