Template:Guild Icon: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: visualeditor-wikitext
No edit summary
Tag: visualeditor-wikitext
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}|synergy|synergy|{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#if:{{{1|}}}|[[File:{{#ifeq:{{lc:{{{1|}}}}}{{#switch:{{lc:{{{1|}}}}}
| fishing = FishingIcon
| fishing = FishingIcon
| bonecraft = BonecraftIcon
| bonecraft = BonecraftIcon

Revision as of 06:05, 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