Difference between revisions of "Template:Ability"
From Curious Expedition 2 Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{{1}}} {{{2{{{2|}}}|{{{2}}}{{{3{{{3|}}}|, }}}}}}{{{3{{{3|}}}|{{{3|{{{2}}}}}}/level-up}}}<nowiki/></includeonly><noinclude> | + | <includeonly>{{{1}}} {{{2{{{2|}}}|{{{2}}}{{{3{{{3|}}}|, }}}}}}{{{3{{{3|}}}|{{{3|{{{2}}}}}}/level-up}}}<nowiki/></includeonly> |
+ | <!-- See https://meta.wikimedia.org/wiki/Help:Advanced_templates#Branching_techniques_without_ParserFunctions --> | ||
+ | <noinclude> | ||
+ | An ability with an optional base value and optional per-level-up value. | ||
+ | |||
+ | "Level-up" was chosen as a generic term that can mean promotions for [[Characters]] or upgrades for [[Equipment]] or [[Perks]]. | ||
== Usage == | == Usage == | ||
{| | {| | ||
Line 11: | Line 16: | ||
|<code><nowiki>{{Ability|Sanity|+10}}</nowiki></code> || {{Ability|Sanity|+10}} | |<code><nowiki>{{Ability|Sanity|+10}}</nowiki></code> || {{Ability|Sanity|+10}} | ||
|} | |} | ||
− | |||
− | |||
− | |||
[[Category:Ability templates|*]] | [[Category:Ability templates|*]] | ||
</noinclude> | </noinclude> |
Revision as of 23:52, 8 January 2021
An ability with an optional base value and optional per-level-up value.
"Level-up" was chosen as a generic term that can mean promotions for Characters or upgrades for Equipment or Perks.
Usage
{{Ability|Sanity|+10|}} |
Sanity +10 |
{{Ability|Sanity||+5}} |
Sanity +5/level-up |
{{Ability|Sanity|+10|+5}} |
Sanity +10, +5/level-up |
{{Ability|Sanity|+10}} |
Sanity +10, +10/level-up |