Template:Gil Mugged

From HorizonXI Wiki
Revision as of 21:24, 23 February 2023 by Garnet-HorizonXI (Fandom) (talk | contribs) (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}}}}}~{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

???~??? 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 "???~???" 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.