Jump to content

ထႅမ်းပလဵတ်ႉ:Ratio/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

Outputs the ratio character (U+2236) between two optional arguments or instead of any colon character in a single argument.

Template parameters

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
width1

width or larger of both dimensions

Numberoptional
height2

height or smaller of both dimensions

Numberoptional

တူဝ်ယၢင်ႇ လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
Source Output Comment
{{ratio}}
4{{ratio}}3
4∶3
{{ratio|4|3}}
4∶3
{{ratio|4|3|2}}
4∶3 only two parameters are supported
{{ratio|4}}
4∶1 "∶1" is automatically added when only 1 argument with no colon is given
{{ratio|4:3}}
4∶3 Single argument with colon is replaced with ratio symbol.
{{ratio|4:4:4}}
4∶4∶4 Works with multiple colons