Template:NumEnhs: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (fixing placement of noinclude tag so that it doesn't add a newline to the output) |
imported>Sekoia m (more efficient parser function call) |
||
(One intermediate revision 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> | ||
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 |