League of Legends Wiki
Advertisement
League of Legends Wiki
Surrender at 20 Emote.png This is a documentation subpage for Template:Format decimal.
It contains usage information, categories and other content that is not part of the original template page.

This template takes a number as a parameter and formats it so any numbers past a decimal point are shrunk. Any other character after the number will be displayed at full size.

Examples:

  • {{fd|1.23}}
    • 1.23
  • {{fd|1.23%}}
    • 1.23%

The function {{#invoke:fd|getmulti}} allows the insertion of multiple values.

Example: {{#invoke:fd|getmulti|1.23% to 4.33%}} creates: 1.23% to 4.33%

See also