Template:Icon: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly>File:{{#switch:{{lc:{{{1}}}}} | bastok = Ffxi flg 01l.jpg | windurst = Ffxi flg 02l.jpg | san d'oria = Ffxi flg 03l.jpg | jeuno = Ffxi flg 04l.jpg | alchemy = Ffxi gld 09.gif | bonecraft = Ffxi gld 02.gif | clothcraft = Ffxi gld 03.gif | cooking = Ffxi gld 06.gif | fishing = Ffxi gld 01.gif | goldsmithing = Ffxi gld 05.gif | leathercraft = Ffxi gld 07.gif | smithing = Ffxi gld 04.gif | woodworking = Ffxi gld 08.gif | synergy = Synergy.gif | chocobo diggin...")
 
m (replace urgh with urhg)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{#switch:{{lc:{{{1}}}}}
<includeonly><onlyinclude>[[File:{{#switch:{{lc:{{{1}}}}}
| bastok =  Ffxi flg 01l.jpg
| bastok =  BastokIcon.png
| windurst = Ffxi flg 02l.jpg
| windurst = WindurstIcon.png
| san d'oria = Ffxi flg 03l.jpg
| san d'oria = SandoriaIcon.png
| jeuno = Ffxi flg 04l.jpg
| jeuno = JeunoIcon.png
| alchemy = Ffxi gld 09.gif
| aht urhgan = AhtUrhganIcon.png
| bonecraft = Ffxi gld 02.gif
| alchemy = AlchemyIcon.png
| clothcraft = Ffxi gld 03.gif
| bonecraft = BonecraftIcon.png
| cooking = Ffxi gld 06.gif
| clothcraft = ClothcraftIcon.png
| fishing = Ffxi gld 01.gif
| cooking = CookingIcon.png
| goldsmithing = Ffxi gld 05.gif
| fishing = FishingIcon.png
| leathercraft = Ffxi gld 07.gif
| goldsmithing = GoldsmithingIcon.png
| smithing = Ffxi gld 04.gif
| leathercraft = LeathercraftIcon.png
| woodworking = Ffxi gld 08.gif
| smithing | blacksmithing = BlacksmithingIcon.png
| synergy = Synergy.gif
| woodworking = WoodworkingIcon.png
| chocobo digging = Chocodig.gif
| synergy = SynergyIcon.png
| chocobo digging = ChocoboDiggingIcon.png
| clamming = ClammingIcon.png
| excavation = ExcavationIcon.png
| gardening = GardeningIcon.png
| harvesting = HarvestingIcon.png
| logging = LoggingIcon.png
| mining = MiningIcon.png
| blue casket = icon_BlCas.png
| blue casket = icon_BlCas.png
| brown casket = icon_BrCas.png
| brown casket = icon_BrCas.png
Line 21: 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
}}]]</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==
* 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===
<pre>{{Icon|<command>|small/medium/large/extra large|link=<alternative link>}}</pre>
 
===Available Icons===
{| class="horizon-table center-col-1 center-col-2 center-col-3 center-col-4 center-col-5"
! command || small (18px) || medium (36px)<br>(default) || large (72px) || extra large (144px)
|-
| bastok || {{Icon|bastok|small}} || {{Icon|bastok|medium}} || {{Icon|bastok|large}} || {{Icon|bastok|extra 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}} || {{Icon|san d'oria|extra large}}
|-
| jeuno || {{Icon|jeuno|small}} || {{Icon|jeuno|medium}} || {{Icon|jeuno|large}} || {{Icon|jeuno|extra large}}
|-
| aht urhgan || {{Icon|aht urhgan|small}} || {{Icon|aht urhgan|medium}} || {{Icon|aht urhgan|large}} || {{Icon|aht urhgan|extra large}}
|-
| alchemy || {{Icon|alchemy|small}} || {{Icon|alchemy|medium}} || {{Icon|alchemy|large}} || {{Icon|alchemy|extra large}}
|-
| bonecraft || {{Icon|bonecraft|small}} || {{Icon|bonecraft|medium}} || {{Icon|bonecraft|large}} || {{Icon|bonecraft|extra large}}
|-
| clothcraft || {{Icon|clothcraft|small}} || {{Icon|clothcraft|medium}} || {{Icon|clothcraft|large}} || {{Icon|clothcraft|extra large}}
|-
| cooking || {{Icon|cooking|small}} || {{Icon|cooking|medium}} || {{Icon|cooking|large}} || {{Icon|cooking|extra large}}
|-
| fishing || {{Icon|fishing|small}} || {{Icon|fishing|medium}} || {{Icon|fishing|large}} || {{Icon|fishing|extra large}}
|-
| goldsmithing || {{Icon|goldsmithing|small}} || {{Icon|goldsmithing|medium}} || {{Icon|goldsmithing|large}} || {{Icon|goldsmithing|extra large}}
|-
| leathercraft || {{Icon|leathercraft|small}} || {{Icon|leathercraft|medium}} || {{Icon|leathercraft|large}} || {{Icon|leathercraft|extra large}}
|-
| smithing || {{Icon|smithing|small}} || {{Icon|smithing|medium}} || {{Icon|smithing|large}} || {{Icon|smithing|extra large}}
|-
| woodworking || {{Icon|woodworking|small}} || {{Icon|woodworking|medium}} || {{Icon|woodworking|large}} || {{Icon|woodworking|extra large}}
|-
| synergy || {{Icon|synergy|small}} || {{Icon|synergy|medium}} || {{Icon|synergy|large}} || {{Icon|synergy|extra large}}
|-
| chocobo digging || {{Icon|chocobo digging|small}} || {{Icon|chocobo digging|medium}} || {{Icon|chocobo digging|large}} || {{Icon|chocobo digging|extra large}}
|-
| clamming || {{Icon|clamming|small}} || {{Icon|clamming|medium}} || {{Icon|clamming|large}} || {{Icon|clamming|extra large}}
|-
| excavation || {{Icon|excavation|small}} || {{Icon|excavation|medium}} || {{Icon|excavation|large}} || {{Icon|excavation|extra large}}
|-
| gardening || {{Icon|gardening|small}} || {{Icon|gardening|medium}} || {{Icon|gardening|large}} || {{Icon|gardening|extra large}}
|-
| harvesting || {{Icon|harvesting|small}} || {{Icon|harvesting|medium}} || {{Icon|harvesting|large}} || {{Icon|harvesting|extra 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}}
|-
| 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}}-->
|}

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