Template:Guild Icon: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}|synergy|synergy|Ffxi gld {{#switch:{{lc:{{{1|}}}}} | fishing = 01 | bonecraft = 02 | clothcraft = 03 | smithing = 04 | goldsmithing = 05 | cooking = 06 | leathercraft = 07 | woodworking = 08 | alchemy = 09 }}}}.gif|{{{size|15px}}}|{{{hovertext|{{ucfirst:{{lc:{{{1|}}}}}}}}}}|link={{{link|:Category:{{ucfirst:{{lc:{{{1|}}}}}}}}}}|alt={{{alt|{{ucfirst:{{lc:{{{1|}}} }}}}}}}]]}}</includeonly><noinclude> Category...")
Tag: visualeditor-wikitext
 
No edit summary
Tag: visualeditor-wikitext
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}|synergy|synergy|Ffxi gld {{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}|synergy|SynergyIcon|{{#switch:{{lc:{{{1|}}}}}
| fishing = 01
| fishing = FishingIcon
| bonecraft = 02
| bonecraft = BonecraftIcon
| clothcraft = 03
| clothcraft = ClothcraftIcon
| smithing = 04
| smithing = BlacksmithingIcon
| goldsmithing = 05
| goldsmithing = GoldsmithingIcon
| cooking = 06
| cooking = CookingIcon
| leathercraft = 07
| leathercraft = LeathercraftIcon
| woodworking = 08
| woodworking = WoodworkingIcon
| alchemy = 09
| alchemy = AlchemyIcon
}}}}.gif|{{{size|15px}}}|{{{hovertext|{{ucfirst:{{lc:{{{1|}}}}}}}}}}|link={{{link|:Category:{{ucfirst:{{lc:{{{1|}}}}}}}}}}|alt={{{alt|{{ucfirst:{{lc:{{{1|}}}&nbsp;}}}}}}}]]}}</includeonly><noinclude>
}}}}.png|{{{size|15px}}}|{{{hovertext|{{ucfirst:{{lc:{{{1|}}}}}}}}}}|link={{{link|:Category:{{ucfirst:{{lc:{{{1|}}}}}}}}}}|alt={{{alt|{{ucfirst:{{lc:{{{1|}}}&nbsp;}}}}}}}]]}}</includeonly><noinclude>
[[Category:Templates|{{PAGENAMEE}}]]
[[Category:Templates|{{PAGENAMEE}}]]
==Usage==
==Usage==

Latest revision as of 06:06, 19 August 2022

Usage

{{Guild Icon|<guild>}}
{{Guild Icon|<guild>
| size = 
| hovertext = 
| link = 
| alt =
}}

Displays an icon of the guild which links to the respective craft page.

  • guild: The guild to link to. Accepts "fishing", "bonecraft", "clothcraft", "smithing", "goldsmithing", "cooking", "leathercraft", "woodworking", "alchemy", and "synergy".
  • size: The size of the icon. Optional
  • hovertext: The text to display when hovering over the icon.
  • link: The page to link to when the icon is clicked.
  • alt: The alternative text to display if the icon cannot be loaded.

Examples

Code Result
{{Guild Icon|Fishing}}
Fishing 
{{Guild Icon|Bonecraft}}
Bonecraft 
{{Guild Icon|Clothcraft}}
Clothcraft 
{{Guild Icon|Smithing}}
Smithing 
{{Guild Icon|Goldsmithing}}
Goldsmithing 
{{Guild Icon|Cooking}}
Cooking 
{{Guild Icon|Leathercraft}}
Leathercraft 
{{Guild Icon|Woodworking}}
Woodworking 
{{Guild Icon|Alchemy}}
Alchemy 
{{Guild Icon|Synergy}}
Synergy