Difference between revisions of "Template:NumEnhs"
From Paragon Wiki Archive
(+{{documentation}}) |
m (more efficient parser function call) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#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> |
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 |