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| | <includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}|synergy|SynergyIcon|{{#switch:{{lc:{{{1|}}}}} | ||
| fishing = | | fishing = FishingIcon | ||
| bonecraft = | | bonecraft = BonecraftIcon | ||
| clothcraft = | | clothcraft = ClothcraftIcon | ||
| smithing = | | smithing = BlacksmithingIcon | ||
| goldsmithing = | | goldsmithing = GoldsmithingIcon | ||
| cooking = | | cooking = CookingIcon | ||
| leathercraft = | | leathercraft = LeathercraftIcon | ||
| woodworking = | | woodworking = WoodworkingIcon | ||
| alchemy = | | alchemy = AlchemyIcon | ||
}}}}. | }}}}.png|{{{size|15px}}}|{{{hovertext|{{ucfirst:{{lc:{{{1|}}}}}}}}}}|link={{{link|:Category:{{ucfirst:{{lc:{{{1|}}}}}}}}}}|alt={{{alt|{{ucfirst:{{lc:{{{1|}}} }}}}}}}]]}}</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.