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 |
||
Line 1: | Line 1: | ||
==Skills (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}}. | |||
==Usage== | ==Usage== | ||
<code><nowiki>{{Skill|<skill> | <code><nowiki>{{Skill|<skill>|[txt=<text>]}}</nowiki></code> | ||
* skill: The name of the skill. | * 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. | * (Optional) txt: If provided, this will be used as the text; if not, the skill name will be used. | ||
==Example== | ==Example== | ||
Line 9: | Line 11: | ||
! Input | ! Input | ||
! Output | ! Output | ||
|- | |- | ||
|<code><nowiki>{{Skill|Woodcutting}}</nowiki></code> | |<code><nowiki>{{Skill|Woodcutting}}</nowiki></code> | ||
|{{Skill|Woodcutting}} | |{{Skill|Woodcutting}} | ||
|- | |- | ||
|<code><nowiki>{{Skill|Attack | |<code><nowiki>{{Skill|Attack}}</nowiki></code> | ||
|{{Skill|Attack | |{{Skill|Attack}} | ||
|- | |- | ||
|<code><nowiki>{{Skill|Foraging|txt=berry picking}}</nowiki></code> | |<code><nowiki>{{Skill|Foraging|txt=berry picking}}</nowiki></code> | ||
Line 27: | Line 23: | ||
|<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}} | ||
|} | |} |
Revision as of 14:44, 24 May 2024
Skills (visual test)
Attack, Strength, Defence, Archery, Magic, Health, Crafting, Woodcutting, Carpentry, Fishing, Cooking, Mining, Smithing, Foraging, Farming, Agility, Plundering, Enchanting and Brewing.
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 |
{{Skill|Attack}}
|
Attack |
{{Skill|Foraging|txt=berry picking}}
|
berry picking |
{{Skill|Enchanting|txt=Weapon Enchanting}}
|
Weapon Enchanting |