Template:Skill/doc: Difference between revisions

From Idle Clans wiki
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Visual Test==
{{Skill|Attack}}, {{Skill|Strength}}, {{Skill|Defence}}, {{Skill|Archery}}, {{Skill|Magic}}, {{Skill|Health}}, {{Skill|Crafting}}, {{Skill|Woodcutting}}, {{Skill|Carpentry}}, {{Skill|Fishing}}, {{Skill|Cooking}}, {{Skill|Mining}}, {{Skill|Smithing}}, {{Skill|Foraging}}, {{Skill|Farming}}, {{Skill|Agility}}, {{Skill|Plundering}}, {{Skill|Enchanting}} and  {{Skill|Brewing}}.
... I'm busy doing {{Skill|mining}} right now ...<br>... you earn {{skill|health}} experience while doing {{skill|combat}} ...
==Usage==
==Usage==
<code><nowiki>{{Skill|<skill>|[img=<image>]|[txt=<text>]}}</nowiki></code>
<code><nowiki>{{Skill|<skill>|[txt=<text>]}}</nowiki></code>


* skill: The name of the skill.
* 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.
* (Optional) txt: If provided, this will be used as the text; if not, the skill name will be used.
==Example==
==Example==
Line 10: Line 14:
! Output
! Output
|-
|-
|<code><nowiki>{{Skill|Mining}}</nowiki></code>
|<code><nowiki>{{Skill|woodcutting}}</nowiki></code>
|{{Skill|Mining}}
|{{Skill|woodcutting}}
|-
|<code><nowiki>{{Skill|Woodcutting}}</nowiki></code>
|{{Skill|Woodcutting}}
|-
|<code><nowiki>{{Skill|Attack|img=rigour}}</nowiki></code>
|{{Skill|Attack|img=rigour}}
|-
|-
|<code><nowiki>{{Skill|Archery|img=combat}}</nowiki></code>
|<code><nowiki>{{Skill|Attack}}</nowiki></code>
|{{Skill|Archery|img=combat}}
|{{Skill|Attack}}
|-
|-
|<code><nowiki>{{Skill|Foraging|txt=berry picking}}</nowiki></code>
|<code><nowiki>{{Skill|Foraging|txt=berry picking}}</nowiki></code>
Line 27: Line 25:
|<code><nowiki>{{Skill|Enchanting|txt=Weapon Enchanting}}</nowiki></code>
|<code><nowiki>{{Skill|Enchanting|txt=Weapon Enchanting}}</nowiki></code>
|{{Skill|Enchanting|txt=Weapon Enchanting}}
|{{Skill|Enchanting|txt=Weapon Enchanting}}
|-
|<code><nowiki>{{Skill|Mining|img=smithing|txt=not smithing}}</nowiki></code>
|{{Skill|Mining|img=smithing|txt=not smithing}}
|-
|<code><nowiki>{{Skill|Mining|txt=Coal Mining|img=gold}}</nowiki></code>
|{{Skill|Mining|txt=Coal Mining|img=gold}}
|}
|}

Latest revision as of 14:52, 24 May 2024

Visual Test

Rigour.png Attack, Strength.png Strength, Defence.png Defence, Archery.png Archery, Magic.png Magic, Health.png Health, Crafting.png Crafting, Woodcutting.png Woodcutting, Carpentry.png Carpentry, Fishing.png Fishing, Cooking.png Cooking, Mining.png Mining, Smithing.png Smithing, Foraging.png Foraging, Farming.png Farming, Agility.png Agility, Plundering.png Plundering, Enchanting.png Enchanting and Brewing.png Brewing.

... I'm busy doing Mining.png mining right now ...
... you earn Health.png health experience while doing Combat.png combat ...

Usage

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

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

Example

Input Output
{{Skill|woodcutting}} Woodcutting.png woodcutting
{{Skill|Attack}} Rigour.png Attack
{{Skill|Foraging|txt=berry picking}} Foraging.png berry picking
{{Skill|Enchanting|txt=Weapon Enchanting}} Enchanting.png Weapon Enchanting