Template:Dejeytest: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Dejey Created page with "{{#switch:{{lc:{{{1|}}}}} | no | none | 0 = ''Cannot be Mugged.'' | Example = ''Example'' | #default = {{#switch:{{lc:{{{3|{{{2|}}}}}}}} | exact = {{#ifeq:{{lc:{{{2|}}}}}|exact|{{formatnum:{{{1|}}}}}|{{formatnum:{{{1|}}}}} - {{formatnum:{{{2|}}}}}}} gil | exact max = {{#if:{{{1|}}}|~{{formatnum:{{{1}}}}}|???}} - {{formatnum:{{{2|}}}}} gil | exact min = {{formatnum:{{{1|}}}}} - {{#if:{{{2|}}}|{{formatnum:{{{2}}}}}~|???}} gil | #default = {{#if:{{{1|}}}|{{#if:{{{2|}}}|..." |
imported>Dejey No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1|}}}}} |
{{#switch:{{lc:{{{1|}}}}} |
||
| no | none | 0 = ''Cannot be [[Mug]]ged.'' |
| no | none | 0 = ''Cannot be [[Mug]]ged.'' |
||
| Example = ''Example'' |
| example | Example = ''Example Gil'' |
||
| #default = {{#switch:{{lc:{{{3|{{{2|}}}}}}}} |
| #default = {{#switch:{{lc:{{{3|{{{2|}}}}}}}} |
||
| exact = {{#ifeq:{{lc:{{{2|}}}}}|exact|{{formatnum:{{{1|}}}}}|{{formatnum:{{{1|}}}}} - {{formatnum:{{{2|}}}}}}} gil |
| exact = {{#ifeq:{{lc:{{{2|}}}}}|exact|{{formatnum:{{{1|}}}}}|{{formatnum:{{{1|}}}}} - {{formatnum:{{{2|}}}}}}} gil |
||
| Line 16: | Line 16: | ||
*Automatically formats values the amount of [[gil]] that can be [[Mug]]ged: |
*Automatically formats values the amount of [[gil]] that can be [[Mug]]ged: |
||
:*Displays "''Cannot be [[Mug]]ged.''" if "no", "none", or "0" is given as the low value. |
:*Displays "''Cannot be [[Mug]]ged.''" if "no", "none", or "0" is given as the low value. |
||
:*Displays '' |
:*Displays "''Example Gil''" "if "example" is given as the low value |
||
:*Displays "???~???" if no values are given. |
:*Displays "???~???" if no values are given. |
||
:*Displays "~<value>" if only the low value or high value is given. |
:*Displays "~<value>" if only the low value or high value is given. |
||
Latest revision as of 12:07, 7 December 2024
???~??? gil
Usage
{{Gil Mugged|low|high|exactness (optional)}}
See the talk page for examples of this template in action.
- Displays "Cannot be Mugged." if "no", "none", or "0" is given as the low value.
- Displays "Example Gil" "if "example" is given as the low value
- Displays "???~???" if no values are given.
- Displays "~<value>" if only the low value or high value is given.
- Displays "<low value>~<high value>" if both values are given.
- Displays "~<low value> - <high value>" if "exact max" is given for the exactness (??? will be displayed for the low value if no low value is given).
- Displays "<low value> - <high value>~" if "exact min" is given for the exactness (??? will be displayed for the high value if no high value is given).
- Displays "<low value> - <high value>" if "exact" is given for the exactness.