Template:Icon: Difference between revisions

From HorizonXI Wiki
(added links to the icons)
m (replace urgh with urhg)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
| san d'oria = SandoriaIcon.png
| san d'oria = SandoriaIcon.png
| jeuno = JeunoIcon.png
| jeuno = JeunoIcon.png
| aht urhgan = AhtUrhganIcon.png
| alchemy = AlchemyIcon.png
| alchemy = AlchemyIcon.png
| bonecraft = BonecraftIcon.png
| bonecraft = BonecraftIcon.png
Line 27: Line 28:
}}|{{#switch:{{lc:{{{2}}}}}
}}|{{#switch:{{lc:{{{2}}}}}
| #default = 36px
| #default = 36px
| small = 18px|text-bottom
| small = 18px
| medium = 36px
| medium = 36px
| large = 72px
| large = 72px
| extra large = 144px
}}|{{#if:{{{link|}}}|link={{{link}}}|link={{#switch:{{lc:{{{1}}}}}
}}|{{#if:{{{link|}}}|link={{{link}}}|link={{#switch:{{lc:{{{1}}}}}
| bastok = Bastok
| bastok = Bastok
Line 35: Line 37:
| san d'oria = San d'Oria
| san d'oria = San d'Oria
| jeuno = Jeuno
| jeuno = Jeuno
| aht urhgan = Aht Urhgan
| alchemy = Category:Alchemy
| alchemy = Category:Alchemy
| bonecraft = Category:Bonecraft
| bonecraft = Category:Bonecraft
Line 56: Line 59:
* First parameter is which icon you want to display
* First parameter is which icon you want to display
* Second parameter (optional) is the size of the icon
* Second parameter (optional) is the size of the icon
* ''link'' parameter (optional) is to define an alternative where the icon will link to. Icons will link to the pages they belong to by default.  
* ''link'' parameter (optional) is to define an '''alternative''' where the icon will link to. Icons will '''by default link to the pages they belong to'''.  


===Syntax===
===Syntax===
<pre>{{Icon|<command>|small/medium/large|link=<link>}}</pre>
<pre>{{Icon|<command>|small/medium/large/extra large|link=<alternative link>}}</pre>


===Available Icons===
===Available Icons===
{| class="horizon-table center-col-1 center-col-2 center-col-3 center-col-4"
{| class="horizon-table center-col-1 center-col-2 center-col-3 center-col-4 center-col-5"
! command || small || medium<br>(default) || large
! command || small (18px) || medium (36px)<br>(default) || large (72px) || extra large (144px)
|-
|-
| bastok || {{Icon|bastok|small}} || {{Icon|bastok|medium}} || {{Icon|bastok|large}}
| bastok || {{Icon|bastok|small}} || {{Icon|bastok|medium}} || {{Icon|bastok|large}} || {{Icon|bastok|extra large}}
|-
|-
| windurst || {{Icon|windurst|small}} || {{Icon|windurst|medium}} || {{Icon|windurst|large}}
| windurst || {{Icon|windurst|small}} || {{Icon|windurst|medium}} || {{Icon|windurst|large}} || {{Icon|windurst|extra large}}
|-
|-
| san d'oria || {{Icon|san d'oria|small}} || {{Icon|san d'oria|medium}} || {{Icon|san d'oria|large}}
| san d'oria || {{Icon|san d'oria|small}} || {{Icon|san d'oria|medium}} || {{Icon|san d'oria|large}} || {{Icon|san d'oria|extra large}}
|-
|-
| jeuno || {{Icon|jeuno|small}} || {{Icon|jeuno|medium}} || {{Icon|jeuno|large}}
| jeuno || {{Icon|jeuno|small}} || {{Icon|jeuno|medium}} || {{Icon|jeuno|large}} || {{Icon|jeuno|extra large}}
|-
|-
| alchemy || {{Icon|alchemy|small}} || {{Icon|alchemy|medium}} || {{Icon|alchemy|large}}
| aht urhgan || {{Icon|aht urhgan|small}} || {{Icon|aht urhgan|medium}} || {{Icon|aht urhgan|large}} || {{Icon|aht urhgan|extra large}}
|-
|-
| bonecraft || {{Icon|bonecraft|small}} || {{Icon|bonecraft|medium}} || {{Icon|bonecraft|large}}
| alchemy || {{Icon|alchemy|small}} || {{Icon|alchemy|medium}} || {{Icon|alchemy|large}} || {{Icon|alchemy|extra large}}
|-
|-
| clothcraft || {{Icon|clothcraft|small}} || {{Icon|clothcraft|medium}} || {{Icon|clothcraft|large}}
| bonecraft || {{Icon|bonecraft|small}} || {{Icon|bonecraft|medium}} || {{Icon|bonecraft|large}} || {{Icon|bonecraft|extra large}}
|-
|-
| cooking || {{Icon|cooking|small}} || {{Icon|cooking|medium}} || {{Icon|cooking|large}}
| clothcraft || {{Icon|clothcraft|small}} || {{Icon|clothcraft|medium}} || {{Icon|clothcraft|large}} || {{Icon|clothcraft|extra large}}
|-
|-
| fishing || {{Icon|fishing|small}} || {{Icon|fishing|medium}} || {{Icon|fishing|large}}
| cooking || {{Icon|cooking|small}} || {{Icon|cooking|medium}} || {{Icon|cooking|large}} || {{Icon|cooking|extra large}}
|-
|-
| goldsmithing || {{Icon|goldsmithing|small}} || {{Icon|goldsmithing|medium}} || {{Icon|goldsmithing|large}}
| fishing || {{Icon|fishing|small}} || {{Icon|fishing|medium}} || {{Icon|fishing|large}} || {{Icon|fishing|extra large}}
|-
|-
| leathercraft || {{Icon|leathercraft|small}} || {{Icon|leathercraft|medium}} || {{Icon|leathercraft|large}}
| goldsmithing || {{Icon|goldsmithing|small}} || {{Icon|goldsmithing|medium}} || {{Icon|goldsmithing|large}} || {{Icon|goldsmithing|extra large}}
|-
|-
| smithing || {{Icon|smithing|small}} || {{Icon|smithing|medium}} || {{Icon|smithing|large}}
| leathercraft || {{Icon|leathercraft|small}} || {{Icon|leathercraft|medium}} || {{Icon|leathercraft|large}} || {{Icon|leathercraft|extra large}}
|-
|-
| woodworking || {{Icon|woodworking|small}} || {{Icon|woodworking|medium}} || {{Icon|woodworking|large}}
| smithing || {{Icon|smithing|small}} || {{Icon|smithing|medium}} || {{Icon|smithing|large}} || {{Icon|smithing|extra large}}
|-
|-
| synergy || {{Icon|synergy|small}} || {{Icon|synergy|medium}} || {{Icon|synergy|large}}
| woodworking || {{Icon|woodworking|small}} || {{Icon|woodworking|medium}} || {{Icon|woodworking|large}} || {{Icon|woodworking|extra large}}
|-
|-
| chocobo digging || {{Icon|chocobo digging|small}} || {{Icon|chocobo digging|medium}} || {{Icon|chocobo digging|large}}
| synergy || {{Icon|synergy|small}} || {{Icon|synergy|medium}} || {{Icon|synergy|large}} || {{Icon|synergy|extra large}}
|-
|-
| clamming || {{Icon|clamming|small}} || {{Icon|clamming|medium}} || {{Icon|clamming|large}}
| chocobo digging || {{Icon|chocobo digging|small}} || {{Icon|chocobo digging|medium}} || {{Icon|chocobo digging|large}} || {{Icon|chocobo digging|extra large}}
|-
|-
| excavation || {{Icon|excavation|small}} || {{Icon|excavation|medium}} || {{Icon|excavation|large}}
| clamming || {{Icon|clamming|small}} || {{Icon|clamming|medium}} || {{Icon|clamming|large}} || {{Icon|clamming|extra large}}
|-
|-
| gardening || {{Icon|gardening|small}} || {{Icon|gardening|medium}} || {{Icon|gardening|large}}
| excavation || {{Icon|excavation|small}} || {{Icon|excavation|medium}} || {{Icon|excavation|large}} || {{Icon|excavation|extra large}}
|-
|-
| harvesting || {{Icon|harvesting|small}} || {{Icon|harvesting|medium}} || {{Icon|harvesting|large}}
| gardening || {{Icon|gardening|small}} || {{Icon|gardening|medium}} || {{Icon|gardening|large}} || {{Icon|gardening|extra large}}
|-
|-
| logging || {{Icon|logging|small}} || {{Icon|logging|medium}} || {{Icon|logging|large}}
| harvesting || {{Icon|harvesting|small}} || {{Icon|harvesting|medium}} || {{Icon|harvesting|large}} || {{Icon|harvesting|extra large}}
|-
|-
| mining || {{Icon|mining|small}} || {{Icon|mining|medium}} || {{Icon|mining|large}}
| logging || {{Icon|logging|small}} || {{Icon|logging|medium}} || {{Icon|logging|large}} || {{Icon|logging|extra large}}
|-
|-
| mining || {{Icon|mining|small}} || {{Icon|mining|medium}} || {{Icon|mining|large}} || {{Icon|mining|extra large}}
<!--|-
| blue casket || {{Icon|blue casket|small}} || {{Icon|blue casket|medium}} || {{Icon|blue casket|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}}
| 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}}
| fished up || {{Icon|fished up|small}} || {{Icon|fished up|medium}} || {{Icon|fished up|large}}-->
|}
|}

Latest revision as of 17:18, 19 March 2024

Usage

  • First parameter is which icon you want to display
  • Second parameter (optional) is the size of the icon
  • link parameter (optional) is to define an alternative where the icon will link to. Icons will by default link to the pages they belong to.

Syntax

{{Icon|<command>|small/medium/large/extra large|link=<alternative link>}}

Available Icons

command small (18px) medium (36px)
(default)
large (72px) extra large (144px)
bastok BastokIcon.png BastokIcon.png BastokIcon.png BastokIcon.png
windurst WindurstIcon.png WindurstIcon.png WindurstIcon.png WindurstIcon.png
san d'oria SandoriaIcon.png SandoriaIcon.png SandoriaIcon.png SandoriaIcon.png
jeuno JeunoIcon.png JeunoIcon.png JeunoIcon.png JeunoIcon.png
aht urhgan File:AhtUrhganIcon.png File:AhtUrhganIcon.png File:AhtUrhganIcon.png File:AhtUrhganIcon.png
alchemy AlchemyIcon.png AlchemyIcon.png AlchemyIcon.png AlchemyIcon.png
bonecraft BonecraftIcon.png BonecraftIcon.png BonecraftIcon.png BonecraftIcon.png
clothcraft ClothcraftIcon.png ClothcraftIcon.png ClothcraftIcon.png ClothcraftIcon.png
cooking CookingIcon.png CookingIcon.png CookingIcon.png CookingIcon.png
fishing FishingIcon.png FishingIcon.png FishingIcon.png FishingIcon.png
goldsmithing GoldsmithingIcon.png GoldsmithingIcon.png GoldsmithingIcon.png GoldsmithingIcon.png
leathercraft LeathercraftIcon.png LeathercraftIcon.png LeathercraftIcon.png LeathercraftIcon.png
smithing BlacksmithingIcon.png BlacksmithingIcon.png BlacksmithingIcon.png BlacksmithingIcon.png
woodworking WoodworkingIcon.png WoodworkingIcon.png WoodworkingIcon.png WoodworkingIcon.png
synergy SynergyIcon.png SynergyIcon.png SynergyIcon.png SynergyIcon.png
chocobo digging ChocoboDiggingIcon.png ChocoboDiggingIcon.png ChocoboDiggingIcon.png ChocoboDiggingIcon.png
clamming ClammingIcon.png ClammingIcon.png ClammingIcon.png ClammingIcon.png
excavation ExcavationIcon.png ExcavationIcon.png ExcavationIcon.png ExcavationIcon.png
gardening GardeningIcon.png GardeningIcon.png GardeningIcon.png GardeningIcon.png
harvesting HarvestingIcon.png HarvestingIcon.png HarvestingIcon.png HarvestingIcon.png
logging LoggingIcon.png LoggingIcon.png LoggingIcon.png LoggingIcon.png
mining MiningIcon.png MiningIcon.png MiningIcon.png MiningIcon.png