Difference between revisions of "Template:AddSkillPoints/doc"

From Istaria Lexica

 
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 22: Line 24:
 
{{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}}
 
{{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}}
 
{{AddSkillPoints|Ice|points=11|maxpoints=1100}}
 
{{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}}