Template:NumEnhs: Difference between revisions
Jump to navigation
Jump to search
imported>Zombie Man m (+Cat:Invention System Templates) |
imported>Sekoia m (more efficient parser function call) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{{1}}}|0=No|1=One|2=Two|3=Three|4=Four|5=Five|6=Six}} | <includeonly>{{#switch:{{{1}}}|0=No|1=One|2=Two|3=Three|4=Four|5=Five|6=Six}} {{#ifeq:{{{1}}}|1|enhancement|enhancements}}</includeonly><noinclude>{{documentation}}</noinclude> | ||
<noinclude> | |||
Latest revision as of 23:19, 29 December 2010
[edit] [ ] Documentation
Usage
Provides textual representation for a number of enhancements. Primarily intended for use within {{Set Bonus}}. Can be called in one of seven ways:
Template call | Result |
---|---|
{{NumEnhs|0}} | No enhancements |
{{NumEnhs|1}} | One enhancement |
{{NumEnhs|2}} | Two enhancements |
{{NumEnhs|3}} | Three enhancements |
{{NumEnhs|4}} | Four enhancements |
{{NumEnhs|5}} | Five enhancements |
{{NumEnhs|6}} | Six enhancements |