Template:Enchantment: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{SmallIcon|Dippable Icon.png}} Enchantment: {{#switch: {{{1|}}} <!-- Accept various kinds of empty/zero values for ease of use from other templates. --> | | + | 0 | +0 | + 0 = None <!-- #8239 is NARROW NO-BREAK SPACE --> | +1 | + 1 = '''+ 1''' | +2 | + 2 = '''+ 2''' | +3 | + 3 = '''+ 3''' | +4 | + 4 = '''+ 4''' | +5 | + 5 = '''+ 5''' }}</includeonly><noinclude> Usage: {{code|<nowiki>{{enchantment|}}</nowiki>}} Result: {{enchan...") |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Dippable Icon.png}} Enchantment: {{#switch: {{{1|}}} | <includeonly>{{SmallIcon|Dippable Icon.png}} {{#if:{{{notext|}}}| |Enchantment: }} {{#switch: {{{1|}}} | ||
<!-- Accept various kinds of empty/zero values for ease of use from other templates. --> | <!-- Accept various kinds of empty/zero values for ease of use from other templates. --> | ||
| | + | 0 | +0 | + 0 = None | | | + | 0 | +0 | + 0 = None | ||
Line 37: | Line 37: | ||
Result: {{enchantment|+ 1}} | Result: {{enchantment|+ 1}} | ||
[[Category:Weapon Property | <!-- Examples showing the effect of the notext parameter --> | ||
Usage: {{code|<nowiki>{{enchantment|+3|notext=1}}</nowiki>}} | |||
Result when notext is used: {{enchantment|+3|notext=1}} | |||
Usage: {{code|<nowiki>{{enchantment|+2|notext=true}}</nowiki>}} | |||
Result when notext is used: {{enchantment|+2|notext=true}} | |||
[[Category:Weapon Property templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 15:21, 23 June 2024
Usage: {{enchantment|}}
Result: Enchantment: None
Usage: {{enchantment|+}}
Result: Enchantment: None
Usage: {{enchantment|0}}
Result: Enchantment: None
Usage: {{enchantment|+0}}
Result: Enchantment: None
Usage: {{enchantment|+ 0}}
Result: Enchantment: None
Usage: {{enchantment|+1}}
Result: Enchantment: + 1
Usage: {{enchantment|+ 1}}
Result: Enchantment: + 1
Usage: {{enchantment|+3|notext=1}}
Result when notext is used: + 3
Usage: {{enchantment|+2|notext=true}}
Result when notext is used: + 2