Jump to content

Template:Ratio

From Meta, a Wikimedia project coordination wiki


Usage

[edit]
{{ratio|1|2}}
→ 33.3% (1/3)
{{ratio|1|2|text=!!!!!}}
→ 33.3!!!!!
{{ratio|1|total=3}}
→ 33.3% (1/3)
{{ratio|1|2|round=4}}
→ 33.3333% (1/3)

Displays a ratio of the first number to the total of both numbers.