Difference between revisions of "Template:AddSkillPoints/doc"
From Istaria Lexica
(Created page with "==Description== Sets properties for skill points. You can finally display those in a table using Template:ShowSkillPoints. *Try out this template in your [{{fullurl:Speci...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
|points = Points gained each level. (Integer only!) | |points = Points gained each level. (Integer only!) | ||
|maxpoints = (optional) Maximum points gained when on maximum level. (Integer only!) | |maxpoints = (optional) Maximum points gained when on maximum level. (Integer only!) | ||
+ | |isprimary = (optional) Whether the CRAFTING (not adventuring!) skill is a primary skill of | ||
+ | this school. Defaults to 'n/a'. Set either to 'yes' or 'no'. | ||
}} | }} | ||
</pre><section end=Parameters /> | </pre><section end=Parameters /> | ||
Line 20: | Line 22: | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
− | {{AddSkillPoints| | + | {{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}} |
− | {{AddSkillPoints| | + | {{AddSkillPoints|Ice|points=11|maxpoints=1100}} |
− | {{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000}} | + | {{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000|isprimary=yes}} |
{{ShowSkillPoints}} | {{ShowSkillPoints}} | ||
</pre> | </pre> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 14:54, 27 September 2022
Description[edit]
Sets properties for skill points. You can finally display those in a table using Template:ShowSkillPoints.
- Try out this template in your sandbox
- Find pages using this template
- If first parameter is not provided, do nothing.
Syntax[edit]
{{AddSkillPoints|name|points=|maxpoints=}}
Parameters[edit]
{{AddSkillPoints | = Name of the skill (ex. Essence Shaping, Tinkering, Mining, One Hand Slash). |points = Points gained each level. (Integer only!) |maxpoints = (optional) Maximum points gained when on maximum level. (Integer only!) |isprimary = (optional) Whether the CRAFTING (not adventuring!) skill is a primary skill of this school. Defaults to 'n/a'. Set either to 'yes' or 'no'. }}
Example[edit]
{{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}} {{AddSkillPoints|Ice|points=11|maxpoints=1100}} {{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000|isprimary=yes}} {{ShowSkillPoints}}