Difference between revisions of "Template:AddSkillPoints"

From Istaria Lexica

(Created page with "<includeonly>{{#if:{{{1|}}}|<nowiki/> {{#set:{{{1}}}={{{points|0}}}}}{{#set:{{{1}}}max={{{maxpoints|0}}}}}}}</includeonly><noinclude>{{Clr}}{{Documentation}}Category:Table T...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if:{{{1|}}}|<nowiki/>
 
<includeonly>{{#if:{{{1|}}}|<nowiki/>
{{#set:{{{1}}}={{{points|0}}}}}{{#set:{{{1}}}max={{{maxpoints|0}}}}}}}</includeonly><noinclude>{{Clr}}{{Documentation}}[[Category:Table Templates]][[Category:Non-standalone Templates]]</noinclude>
+
{{#set:{{{1}}}={{{points|0}}}}}{{#set:{{{1}}}max={{{maxpoints|0}}}}}{{#set:{{{1}}}primary={{{isprimary|n/a}}}}}}}</includeonly><noinclude>{{Clr}}{{Documentation}}[[Category:Add Data Templates]]</noinclude>

Latest revision as of 18:44, 21 October 2022

Template documentation (for the template shown above, sometimes hidden or invisible)

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}}
Visit Template:AddSkillPoints/doc to edit this text. (How to: document correctly)