Template:Icon: Difference between revisions

From HorizonXI Wiki
Aramachus (talk | contribs)
m nation icon update
Aramachus (talk | contribs)
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
windurst
san d'oria
jeuno
alchemy
bonecraft
clothcraft
cooking
fishing
goldsmithing
leathercraft
smithing
woodworking
synergy
chocobo digging
clamming
excavation
gardening
harvesting
logging
mining
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