Template:Dejeytest: Difference between revisions
From HorizonXI Wiki
(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|}}}|...") |
(No difference)
|
Revision as of 11:58, 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" "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.
