Difference between revisions of "Template:AddAttributePoints/doc"

From Istaria Lexica

m (Elteria Shadowhand moved page Template:AddSkillPoints/doc to Template:AddAttributePoints/doc without leaving a redirect)
Line 1: Line 1:
 
==Description==
 
==Description==
Sets properties for skill points. You can finally display those in a table using [[Template:ShowSkillPoints]].
+
Sets properties for skill points. You can finally display those in a table using [[Template:ShowAttributePoints]].
  
 
*Try out this template in your [{{fullurl:Special:MyPage/sandbox|action=edit&section=new&preload={{FULLPAGENAMEE}}/sample}} sandbox]
 
*Try out this template in your [{{fullurl:Special:MyPage/sandbox|action=edit&section=new&preload={{FULLPAGENAMEE}}/sample}} sandbox]
Line 7: Line 7:
  
 
==Syntax==
 
==Syntax==
<pre>{{AddSkillPoints|name|points=|maxpoints=}}</pre>
+
<pre>{{AddAttributePoints|name|points=|maxpoints=}}</pre>
  
 
==Parameters==
 
==Parameters==
 
<section begin=Parameters /><pre>
 
<section begin=Parameters /><pre>
{{AddSkillPoints
+
{{AddAttributePoints
 
|              = Name of the skill (ex. Essence Shaping, Tinkering, Mining, One Hand Slash).
 
|              = Name of the skill (ex. Essence Shaping, Tinkering, Mining, One Hand Slash).
 
|points        = Points gained each level. (Integer only!)
 
|points        = Points gained each level. (Integer only!)
Line 20: Line 20:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{AddSkillPoints|Strength|points=6|maxpoints=750}}
+
{{AddAttributePoints|Strength|points=6|maxpoints=750}}
{{AddSkillPoints|Dexterity|points=11|maxpoints=1100}}
+
{{AddAttributePoints|Dexterity|points=11|maxpoints=1100}}
{{AddSkillPoints|Essence Harvesting|points=10|maxpoints=1000}}
+
{{AddAttributePoints|Essence Harvesting|points=10|maxpoints=1000}}
{{ShowSkillPoints}}
+
{{ShowAttributePoints}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 21:12, 25 September 2022

Description[edit]

Sets properties for skill points. You can finally display those in a table using Template:ShowAttributePoints.

  • Try out this template in your sandbox
  • Find pages using this template
  • If first parameter is not provided, do nothing.

Syntax[edit]

{{AddAttributePoints|name|points=|maxpoints=}}

Parameters[edit]

{{AddAttributePoints
|              = 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]

{{AddAttributePoints|Strength|points=6|maxpoints=750}}
{{AddAttributePoints|Dexterity|points=11|maxpoints=1100}}
{{AddAttributePoints|Essence Harvesting|points=10|maxpoints=1000}}
{{ShowAttributePoints}}