Template:Icon: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus added documentation and a list of all available icons |
imported>Aramachus m replace urgh with urhg |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>[[File:{{#switch:{{lc:{{{1}}}}} |
<includeonly><onlyinclude>[[File:{{#switch:{{lc:{{{1}}}}} |
||
| bastok = |
| bastok = BastokIcon.png |
||
| windurst = |
| windurst = WindurstIcon.png |
||
| san d'oria = |
| san d'oria = SandoriaIcon.png |
||
| jeuno = |
| jeuno = JeunoIcon.png |
||
| aht urhgan = AhtUrhganIcon.png |
|||
| ⚫ | |||
| |
| alchemy = AlchemyIcon.png |
||
| bonecraft = BonecraftIcon.png |
|||
| clothcraft = |
| clothcraft = ClothcraftIcon.png |
||
| ⚫ | |||
| |
| cooking = CookingIcon.png |
||
| fishing = FishingIcon.png |
|||
| goldsmithing = |
| goldsmithing = GoldsmithingIcon.png |
||
| leathercraft = |
| leathercraft = LeathercraftIcon.png |
||
| smithing = Ffxi_gld_04.gif |
|||
| smithing | blacksmithing = BlacksmithingIcon.png |
|||
| woodworking = |
| woodworking = WoodworkingIcon.png |
||
| ⚫ | |||
| synergy = SynergyIcon.png |
|||
| chocobo digging = |
| 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 |
| small = 18px |
||
| medium = 36px |
| medium = 36px |
||
| large = 72px |
| large = 72px |
||
| 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 |
|||
| ⚫ | |||
| bonecraft = Category:Bonecraft |
|||
| clothcraft = Category:Clothcraft |
|||
| ⚫ | |||
| fishing = Category:Fishing |
|||
| goldsmithing = Category:Goldsmithing |
|||
| leathercraft = Category:Leathercraft |
|||
| smithing | blacksmithing = Category:Smithing |
|||
| woodworking = Category:Woodworking |
|||
| ⚫ | |||
| chocobo digging = Category:Chocobo Digging |
|||
| clamming = Category:Clamming |
|||
| excavation = Category:Excavation |
|||
| gardening = Category:Gardening |
|||
| harvesting = Category:Harvesting |
|||
| logging = Category:Logging |
|||
| mining = Category:Mining |
|||
| ⚫ | |||
==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}} |
||
|- |
|- |
||
| |
| 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}} |
| 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>}}