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:Dejeytest: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
 
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 = ''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 "''Example''" "if "example" is given as the low value
:*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.

  • 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" 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.