Template:Icon: Difference between revisions

From HorizonXI Wiki
m (nation icon update)
(added links to the icons)
Line 11: Line 11:
| 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 30: Line 30:
| medium = 36px
| medium = 36px
| large = 72px
| large = 72px
}}]]</onlyinclude></includeonly>
}}|{{#if:{{{link|}}}|link={{{link}}}|link={{#switch:{{lc:{{{1}}}}}
| bastok = Bastok
| windurst = Windurst
| san d'oria = San d'Oria
| jeuno = Jeuno
| 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 link to the pages they belong to by default.


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


===Available Icons===
===Available Icons===

Revision as of 13:33, 15 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 link to the pages they belong to by default.

Syntax

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

Available Icons

command small medium
(default)
large
bastok BastokIcon.png BastokIcon.png BastokIcon.png
windurst WindurstIcon.png WindurstIcon.png WindurstIcon.png
san d'oria SandoriaIcon.png SandoriaIcon.png SandoriaIcon.png
jeuno JeunoIcon.png JeunoIcon.png JeunoIcon.png
alchemy AlchemyIcon.png AlchemyIcon.png AlchemyIcon.png
bonecraft BonecraftIcon.png BonecraftIcon.png BonecraftIcon.png
clothcraft ClothcraftIcon.png ClothcraftIcon.png ClothcraftIcon.png
cooking CookingIcon.png CookingIcon.png CookingIcon.png
fishing FishingIcon.png FishingIcon.png FishingIcon.png
goldsmithing GoldsmithingIcon.png GoldsmithingIcon.png GoldsmithingIcon.png
leathercraft LeathercraftIcon.png LeathercraftIcon.png LeathercraftIcon.png
smithing BlacksmithingIcon.png BlacksmithingIcon.png BlacksmithingIcon.png
woodworking WoodworkingIcon.png WoodworkingIcon.png WoodworkingIcon.png
synergy SynergyIcon.png SynergyIcon.png SynergyIcon.png
chocobo digging ChocoboDiggingIcon.png ChocoboDiggingIcon.png ChocoboDiggingIcon.png
clamming ClammingIcon.png ClammingIcon.png ClammingIcon.png
excavation ExcavationIcon.png ExcavationIcon.png ExcavationIcon.png
gardening GardeningIcon.png GardeningIcon.png GardeningIcon.png
harvesting HarvestingIcon.png HarvestingIcon.png HarvestingIcon.png
logging LoggingIcon.png LoggingIcon.png LoggingIcon.png
mining MiningIcon.png MiningIcon.png MiningIcon.png
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