ထႅမ်းပလဵတ်ႉ:Resratio/doc
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Resratio ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
This template is employed by Template:resrow to achieve consistent nomenclature for aspect ratios. It works differently with one and two parameters. This has been moved from Template:ratio to free up the name of the Ratio template for more versatile purposes.
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
ratio or width | 1 x | If it is the only parameter provided, a float number or a ratio of two integers with colon in between without spaces. Otherwise, the larger of both dimensions in pixels. | String | required |
height | 2 y | The smaller of both dimensions in pixels | Number | optional |
float output | f | if provided, a float will be returned instead of a string; except when set to a small integer like 9, some values will use a reasonable approximation with that as a denominator | String | optional |
ratio | r | forced literal output | String | optional |
တူဝ်ယၢင်ႇ
မႄးထတ်းSingle Parameter | Two Parameters | ||
---|---|---|---|
|
0 | ||
f=float |
0 | |f=float |
x∶y |
| |
x∶y | || |
x∶ |
1 |
1∶1 | 1|1 |
1∶1 |
1.2 |
6∶5 | ||
1.25 |
5∶4 | ||
1.250 |
5∶4 | ||
1.2500 |
5∶4 | ||
{{#expr:4/3}} |
4∶3 | ||
4/3 |
4∶3 | ||
8/6 |
4∶3 | ||
12/9 |
4∶3 | ||
16/12 |
4∶3 | ||
20/15 |
4∶3 | ||
400/300 |
4∶3 | ||
4 / 3 |
4∶3 | ||
4/ 3 |
4∶3 | ||
4 /3 |
4∶3 | ||
4 / 3 |
4∶3 | ||
1.3 |
1.3 | ||
1.33 |
4∶3 | ||
1.330 |
4∶3 | ||
1.333 |
4∶3 | ||
1.3333 |
4∶3 | ||
1.334 |
4∶3 | ||
1.34 |
1.34 | ||
1.4 |
7∶5 | ||
tv |
4∶3 | ||
TV |
4∶3 | ||
4 :3 |
4 :3 | ||
4: 3 |
4: 3 | ||
4 : 3 |
4 : 3 | ||
4:3 |
4∶3 | 4|3 |
4∶3 |
f=float|4:3 |
1.333 | 4|3|f=float |
1.333 |
8:6 |
4∶3 | 8|6 |
4∶3 |
12:9 |
4∶3 | 12|9 |
4∶3 |
16:12 |
4∶3 | 16|12 |
4∶3 |
20:15 |
20:15 | 20|15 |
4∶3 |
3:4 |
3:4 | 3|4 |
3∶4 |
4.0:3.0 |
4.0:3.0 | 4.0|3.0 |
4∶3 |
4:3.0 |
4:3.0 | 4|3.0 |
4∶3 |
4.0:3 |
4.0:3 | 4.0|3 |
4∶3 |
4,0:3,0 |
4,0:3,0 | 4,0|3,0 |
4,0∶3,0 |
4:3,0 |
4:3,0 | 4|3,0 |
4∶1 |
4,0:3 |
4,0:3 | 4,0|3 |
4,0∶3 |
1.333:1 |
1.333:1 | 1.333|1 |
4∶3 |
1,333:1 |
1,333:1 | 1,333|1 |
1,333∶1 |
1,333 |
1,333 | ||
1=4:3 |
4∶3 | 2=4:3 |
∶4:3 |
x=4:3 |
4∶3 | y=4:3 |
∶4:3 |
Two Parameters
မႄးထတ်း400|300
: 4∶320|12
: 5∶34:3|3
: 4∶34|4:3
: 4∶1
f
မႄးထတ်း4:3|f=
: 4∶34:3|f=float
: 1.3334:3|f=true
: 1.3334:3|f=false
: 1.3334:3|f=1
: 1.3334:3|f=0
: 1.333f=float|4|3
: 1.3334|f=float|3
: 1.333f=float|1=4:3
: 1.3334|3|f=3
: 4∶34|3|f=4
: 1.3334|3|f=5
: 1.3334|3|f=6
: 8∶64|3|f=9
: 12∶9
တူၺ်းပႃး
မႄးထတ်း- {{ratio}} only the symbol, no harmonization
- {{Frac}}
- {{Fractions and ratios}}
- {{resx}}