Difference between revisions of "Template:AddAttributePoints"
From Istaria Lexica
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{1|}}}| | + | <nowiki/><includeonly>{{#if:{{{1|}}}|{{#set:{{{1}}}={{{points|0}}}}}{{#set:{{{1}}}max={{{maxpoints|0}}}}}}}</includeonly><noinclude>{{Documentation}}[[Category:Add Data Templates]]</noinclude><nowiki/> |
− | {{#set:{{{1}}}={{{points|0}}}}}{{#set:{{{1}}}max={{{maxpoints|0}}}}}}}</includeonly><noinclude> |
Latest revision as of 18:42, 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: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 attribute (ex. Health, Strength, Dexterity). |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|Focus|points=10|maxpoints=1000}} {{ShowAttributePoints}}
Visit Template:AddAttributePoints/doc to edit this text. (How to: document correctly)