Шаблон:Urdu numeral: различия между версиями

Перейти к навигации Перейти к поиску
нет описания правки
(Новая страница: «<span style="padding-left:{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*3/30 round 0}}|2 = {{#expr: {{{2|20}}}*3/30 round 0}}|3 = {{#expr: {{{2|20}}}*1/30 round 0}}|4 = {{#expr: {{{2|20}}}*1/30 round 0}}|5 = {{#expr: {{{2|20}}}*2/30 round 0}}|6 = {{#expr: {{{2|20}}}*2/30 round 0}}|7 = {{#expr: {{{2|20}}}*2/30 round 0}}|8 = {{#expr: {{{2|20}}}*2/30 round 0}}|9 = {{#expr: {{{2|20}}}*2/30 round 0}}|{{#expr: {{{2|20}}}*4/30 round 0}}}}px;padding-right:{{#swi...»)
 
Нет описания правки
 
Строка 1: Строка 1:
<span style="padding-left:{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*3/30 round 0}}|2 = {{#expr: {{{2|20}}}*3/30 round 0}}|3 = {{#expr: {{{2|20}}}*1/30 round 0}}|4 = {{#expr: {{{2|20}}}*1/30 round 0}}|5 = {{#expr: {{{2|20}}}*2/30 round 0}}|6 = {{#expr: {{{2|20}}}*2/30 round 0}}|7 = {{#expr: {{{2|20}}}*2/30 round 0}}|8 = {{#expr: {{{2|20}}}*2/30 round 0}}|9 = {{#expr: {{{2|20}}}*2/30 round 0}}|{{#expr: {{{2|20}}}*4/30 round 0}}}}px;padding-right:{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*3/30 round 0}}|2 = {{#expr: {{{2|20}}}*2/30 round 0}}|3 = {{#expr: {{{2|20}}}*1/30 round 0}}|4 = {{#expr: {{{2|20}}}*1/30 round 0}}|5 = {{#expr: {{{2|20}}}*2/30 round 0}}|6 = {{#expr: {{{2|20}}}*2/30 round 0}}|7 = {{#expr: {{{2|20}}}*2/30 round 0}}|8 = {{#expr: {{{2|20}}}*2/30 round 0}}|9 = {{#expr: {{{2|20}}}*2/30 round 0}}|{{#expr: {{{2|20}}}*3/30 round 0}}}}px;">[[File:Urdu numeral {{#switch:{{lc:{{{1|}}}}}|1 = one|2 = two|3 = three|4 = four|5 = five|6 = six|7 = seven|8 = eight|9 = nine|zero}}.svg|x{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*18/30 round 0}}|2 = {{#expr: {{{2|20}}}*18/30 round 0}}|3 = {{#expr: {{{2|20}}}*18/30 round 0}}|4 = {{#expr: {{{2|20}}}*19/30 round 0}}|5 = {{#expr: {{{2|20}}}*18/30 round 0}}|6 = {{#expr: {{{2|20}}}*18/30 round 0}}|7 = {{#expr: {{{2|20}}}*16/30 round 0}}|8 = {{#expr: {{{2|20}}}*18/30 round 0}}|9 = {{#expr: {{{2|20}}}*20/30 round 0}}|{{#expr: {{{2|20}}}*9/30 round 0}}}}px|{{#switch:{{lc:{{{1|}}}}}|1 = baseline|2 = baseline|3 = baseline|4 = baseline|5 = baseline|6 = baseline|7 = baseline|8 = baseline|9 = baseline|middle}}|link=|alt={{lang|ur|{{#switch:{{lc:{{{1|}}}}}|1 = ۱|2 = ۲|3 = ۳|4 = ۴|5 = ۵|6 = ۶|7 = ۷|8 = ۸|9 = ۹|۰}}}}]]</span><noinclude>
<span style="padding-left:{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*3/30 round 0}}|2 = {{#expr: {{{2|20}}}*3/30 round 0}}|3 = {{#expr: {{{2|20}}}*1/30 round 0}}|4 = {{#expr: {{{2|20}}}*1/30 round 0}}|5 = {{#expr: {{{2|20}}}*2/30 round 0}}|6 = {{#expr: {{{2|20}}}*2/30 round 0}}|7 = {{#expr: {{{2|20}}}*2/30 round 0}}|8 = {{#expr: {{{2|20}}}*2/30 round 0}}|9 = {{#expr: {{{2|20}}}*2/30 round 0}}|{{#expr: {{{2|20}}}*4/30 round 0}}}}px;padding-right:{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*3/30 round 0}}|2 = {{#expr: {{{2|20}}}*2/30 round 0}}|3 = {{#expr: {{{2|20}}}*1/30 round 0}}|4 = {{#expr: {{{2|20}}}*1/30 round 0}}|5 = {{#expr: {{{2|20}}}*2/30 round 0}}|6 = {{#expr: {{{2|20}}}*2/30 round 0}}|7 = {{#expr: {{{2|20}}}*2/30 round 0}}|8 = {{#expr: {{{2|20}}}*2/30 round 0}}|9 = {{#expr: {{{2|20}}}*2/30 round 0}}|{{#expr: {{{2|20}}}*3/30 round 0}}}}px;">[[File:Urdu numeral {{#switch:{{lc:{{{1|}}}}}|1 = one|2 = two|3 = three|4 = four|5 = five|6 = six|7 = seven|8 = eight|9 = nine|zero}}.svg|x{{#switch:{{lc:{{{1|}}}}}|1 = {{#expr: {{{2|20}}}*18/30 round 0}}|2 = {{#expr: {{{2|20}}}*18/30 round 0}}|3 = {{#expr: {{{2|20}}}*18/30 round 0}}|4 = {{#expr: {{{2|20}}}*19/30 round 0}}|5 = {{#expr: {{{2|20}}}*18/30 round 0}}|6 = {{#expr: {{{2|20}}}*18/30 round 0}}|7 = {{#expr: {{{2|20}}}*16/30 round 0}}|8 = {{#expr: {{{2|20}}}*18/30 round 0}}|9 = {{#expr: {{{2|20}}}*20/30 round 0}}|{{#expr: {{{2|20}}}*9/30 round 0}}}}px|{{#switch:{{lc:{{{1|}}}}}|1 = baseline|2 = baseline|3 = baseline|4 = baseline|5 = baseline|6 = baseline|7 = baseline|8 = baseline|9 = baseline|middle}}|link=|alt={{lang|ur|{{#switch:{{lc:{{{1|}}}}}|1 = ۱|2 = ۲|3 = ۳|4 = ۴|5 = ۵|6 = ۶|7 = ۷|8 = ۸|9 = ۹|۰}}}}]]</span><noinclude>{{doc}}</noinclude>
{{documentation|content=
This template is intended to be used to display Urdu numerals from zero to nine (in [[Nastaliq]] style) in-line with images.
 
The template has two parameters. The first parameter specifies the numeral and the second specifies the font size. The default numeral is zero and the default font size is 20px.
 
===Examples===
*{{tlx|Urdu numeral|2|30}} will output: {{Urdu numeral|2|30}}
*{{tlx|Urdu numeral|1|35}} will output: {{Urdu numeral|1|35}}
*{{tlx|Urdu numeral|5|20}} will output: {{Urdu numeral|5|20}}
}}
 
[[Category:Шаблоны математического форматирования]]
</noinclude>

Навигация