Template:Resource: Difference between revisions

Jump to navigation Jump to search
m
Plural of superiority die is superiority dice
m (ki charge -> ki point)
m (Plural of superiority die is superiority dice)
Line 5: Line 5:
{{#if: {{{forceplural|}}} | {{#ifeq: {{{forceplural|}}} | yes | {{#vardefine:isplural|1}} | {{#vardefine:isplural|0}}}}}} <!--there may be special cases where you want to have plural forms without a count (i.e. explanations)-->
{{#if: {{{forceplural|}}} | {{#ifeq: {{{forceplural|}}} | yes | {{#vardefine:isplural|1}} | {{#vardefine:isplural|0}}}}}} <!--there may be special cases where you want to have plural forms without a count (i.e. explanations)-->
{{#switch: {{lc:{{{name}}}}} <!-- lc is to make the input all lower case, so that case is not my biggest priority -->
{{#switch: {{lc:{{{name}}}}} <!-- lc is to make the input all lower case, so that case is not my biggest priority -->
| sd | supdie | superiority die = {{#vardefine: name|Superiority {{#ifexpr: {{#var: isplural}} > 0 |Dices|Die}}}} {{#vardefine: icon|Superiority Die d8 Icon.png}}
| sd | supdie | superiority die = {{#vardefine: name|Superiority {{#ifexpr: {{#var: isplural}} > 0 |Dice|Die}}}} {{#vardefine: icon|Superiority Die d8 Icon.png}}
| ki = {{#vardefine: name|Ki Point{{#ifexpr: {{#var: isplural}} > 0 |s}}}} {{#vardefine: icon|Monk Ki Icon.png}}
| ki = {{#vardefine: name|Ki Point{{#ifexpr: {{#var: isplural}} > 0 |s}}}} {{#vardefine: icon|Monk Ki Icon.png}}
| ws | wldshp | wild shape | = {{#vardefine: name|Wild Shape Charge{{#ifexpr: {{#var: isplural}} > 0 |s}}}} {{#vardefine: icon|Wild Shape Charges Icon.png}}
| ws | wldshp | wild shape | = {{#vardefine: name|Wild Shape Charge{{#ifexpr: {{#var: isplural}} > 0 |s}}}} {{#vardefine: icon|Wild Shape Charges Icon.png}}

Navigation menu