সাঁচ:অনুপাত/doc
Outputs the ratio character (U+2236). Optionally accepts two arguments that will be placed on each side of the character.
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
width | 1 | width or larger of both dimensions | সংখ্যা | ঐচ্ছিক |
height | 2 | height or smaller of both dimensions | সংখ্যা | ঐচ্ছিক |
Example Usage
সম্পাদনা কৰক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}}
|
সাঁচ:Replace | "∶1" is automatically added when only 1 argument with no colon is given |
{{ratio|4:3}}
|
সাঁচ:Replace | Single argument with colon is replaced with ratio symbol. |
{{ratio|4:4:4}}
|
সাঁচ:Replace | Works with multiple colons |
See also
সম্পাদনা কৰক- {{resratio}} also converts and harmonizes entries like "16:10"
- {{resx}} for the multiplication sign
- {{Frac}}
- {{Fractions and ratios}}