863×269px

Happy 2nd Anniversary! Check out the Character Models page for the new faces & hairstyles, available via the brand new Barbershop!

Please help to contribute towards the Anniversary 2024 page!


Template:Gil Mugged: Difference between revisions

From HorizonXI Wiki
(Created page with "{{#switch:{{lc:{{{1|}}}}} | no | none | 0 = ''Cannot be Mugged.'' | #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|}}}|{{formatnum:{{{1}}}}}~{{...")
 
(edited in example text)
 
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 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 15: 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 "''Example gil''" "if "example" or "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:08, 7 December 2024

???~??? gil

Usage

{{Gil Mugged|low|high|exactness (optional)}}

See the talk page for examples of this template in action.

  • Automatically formats values the amount of gil that can be Mugged:
  • Displays "Cannot be Mugged." if "no", "none", or "0" is given as the low value.
  • Displays "Example gil" "if "example" or "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.