Template:Icon: Difference between revisions

From HorizonXI Wiki
Aramachus (talk | contribs)
m nation icon update
Aramachus (talk | contribs)
m replace urgh with urhg
 
(6 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 11: Line 12:
| goldsmithing = GoldsmithingIcon.png
| goldsmithing = GoldsmithingIcon.png
| leathercraft = LeathercraftIcon.png
| leathercraft = LeathercraftIcon.png
| smithing = BlacksmithingIcon.png
| smithing | blacksmithing = BlacksmithingIcon.png
| woodworking = WoodworkingIcon.png
| woodworking = WoodworkingIcon.png
| synergy = SynergyIcon.png
| synergy = SynergyIcon.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
}}]]</onlyinclude></includeonly>
| extra large = 144px
}}|{{#if:{{{link|}}}|link={{{link}}}|link={{#switch:{{lc:{{{1}}}}}
| bastok = Bastok
| windurst = Windurst
| san d'oria = San d'Oria
| jeuno = Jeuno
| aht urhgan = Aht Urhgan
| alchemy = Category:Alchemy
| bonecraft = Category:Bonecraft
| clothcraft = Category:Clothcraft
| cooking = Category:Cooking
| fishing = Category:Fishing
| goldsmithing = Category:Goldsmithing
| leathercraft = Category:Leathercraft
| smithing | blacksmithing = Category:Smithing
| woodworking = Category:Woodworking
| synergy = Category:Synergy
| chocobo digging = Category:Chocobo Digging
| clamming = Category:Clamming
| excavation = Category:Excavation
| gardening = Category:Gardening
| harvesting = Category:Harvesting
| logging = Category:Logging
| mining = Category:Mining
}}}}]]</onlyinclude></includeonly>
==Usage==
==Usage==
* 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 '''by default link to the pages they belong to'''.


===Syntax===
===Syntax===
<pre>{{Icon|<command>|small/medium/large}}</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
windurst
san d'oria
jeuno
aht urhgan File:AhtUrhganIcon.png File:AhtUrhganIcon.png File:AhtUrhganIcon.png File:AhtUrhganIcon.png
alchemy
bonecraft
clothcraft
cooking
fishing
goldsmithing
leathercraft
smithing
woodworking
synergy
chocobo digging
clamming
excavation
gardening
harvesting
logging
mining