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...")
 
Line 20: Line 20:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{AddSkillPoints|Strength|points=6|maxpoints=750}}
+
{{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}}
{{AddSkillPoints|Dexterity|points=11|maxpoints=1100}}
+
{{AddSkillPoints|Ice|points=11|maxpoints=1100}}
 
{{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000}}
 
{{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000}}
 
{{ShowSkillPoints}}
 
{{ShowSkillPoints}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 21:37, 25 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!)
}}

Example[edit]

{{AddSkillPoints|One Hand Slash|points=6|maxpoints=750}}
{{AddSkillPoints|Ice|points=11|maxpoints=1100}}
{{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000}}
{{ShowSkillPoints}}