Template:Guild Icon: Difference between revisions
From HorizonXI Wiki
No edit summary Tag: visualeditor-wikitext |
No edit summary Tag: visualeditor-wikitext |
||
(One intermediate revision 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 = FishingIcon | | fishing = FishingIcon | ||
| bonecraft = BonecraftIcon | | bonecraft = BonecraftIcon | ||
Line 9: | Line 9: | ||
| woodworking = WoodworkingIcon | | woodworking = WoodworkingIcon | ||
| alchemy = AlchemyIcon | | alchemy = AlchemyIcon | ||
}}}}.png|{{{size|15px}}}|{{{hovertext|{{ucfirst:{{lc:{{{1|}}}}}}}}}}|link={{{link|:Category:{{ucfirst:{{lc:{{{1|}}}}}}}}}}|alt={{{alt|{{ucfirst:{{lc:{{{1|}}} }}}}}}}]]}}</includeonly><noinclude> | }}}}.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}}]] |
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.