Template:Skill/doc

From Idle Clans wiki
< Template:Skill
Revision as of 14:18, 24 May 2024 by Uraxys (talk | contribs) (Created page with "==Usage== <code><nowiki>{{Skill|<skill>|[img=<image>]|[txt=<text>]}}</nowiki></code> * skill: The name of the skill. * (Optional) img: If provided, this will be used as the image; if not, the skill name will be used. * (Optional) txt: If provided, this will be used as the text; if not, the skill name will be used. ==Example== {| class="wikitable" style="text-align:center" ! Input ! Output |- |<code><nowiki>{{Skill|Mining}}</nowiki></code> |{{Skill|Mining}} |- |<code><no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Skill|<skill>|[img=<image>]|[txt=<text>]}}

  • skill: The name of the skill.
  • (Optional) img: If provided, this will be used as the image; if not, the skill name will be used.
  • (Optional) txt: If provided, this will be used as the text; if not, the skill name will be used.

Example

Input Output
{{Skill|Mining}} Mining.png Mining
{{Skill|Woodcutting}} Woodcutting.png Woodcutting
{{Skill|Attack|img=rigour}} Rigour.png Attack
{{Skill|Archery|img=combat}} Archery.png Archery
{{Skill|Foraging|txt=berry picking}} Foraging.png berry picking
{{Skill|Enchanting|txt=Weapon Enchanting}} Enchanting.png Weapon Enchanting
{{Skill|Mining|img=smithing|txt=not smithing}} Mining.png not smithing
{{Skill|Mining|txt=Coal Mining|img=gold}} Mining.png Coal Mining