Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ordinal: Difference between revisions

Template page
m sv fix
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ifNum|{{{1|}}}|
<includeonly>{{#invoke: Ordinal|Ordinal}}</includeonly><noinclude>
  {{LangSwitch|{{#if:{{{lang|}}}|lang|}}={{{lang|}}}
{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
  |default = {{formatnum|{{#expr:{{{1|}}}}}|{{#if:{{{lang|}}}|lang|}}={{{lang|}}}}}.<!-- includes at least: cs, de, fi, hu -->
  |bn = {{formatnum|{{#expr:{{{1|}}}}}|bn}}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#switch:{{#expr:abs({{{1|}}})mod 10}}
    |1|5|7|8|9|10=ম
    |2|3=য়
    |4=র্থ
    |6=ষ্ঠ
    |#default=শ
    }}{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |br = {{formatnum|{{#expr:{{{1|}}}}}|eo}}-vet
  |en = {{formatnum|{{#expr:{{{1|}}}}}|en}}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#ifeq:{{{style|}}}|d
    | d
    | {{#switch:{{#expr:abs({{{1|}}})mod 100}}  
      |1|21|31|41|51|61|71|81|91=st
      |2|22|32|42|52|62|72|82|92=nd
      |3|23|33|43|53|63|73|83|93=rd
      |#default=th
      }}
    }}{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |eo = {{formatnum|{{#expr:{{{1|}}}}}|eo}}-a
  |es = {{formatnum|{{#expr:{{{1|}}}}}|es}}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#switch:{{{gender|}}}|f=a|#default=o}}{{PLURAL:{{#expr:{{{number|1}}}}}||s|es}}{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |fa = {{formatnum|{{#expr:{{{1|}}}}}|fa}}م
  |fr = {{#switch:{{lc:{{{style|}}}}}
    |roman|roman year={{Roman|{{{1|}}}}}
    |#default={{formatnum|{{#expr:{{{1|}}}}}|fr}}
    }}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#ifexpr:({{{1|}}})=1
    |{{#switch:{{{gender|}}}|f=re{{PLURAL:{{#expr:{{{number|1}}}||s|fr}}}}|m=er{{PLURAL:{{#expr:{{{number|1}}}}}||s|fr}}|#default=e<!-- avoids agreement error -->}}
    |e}}{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |hy = {{formatnum|{{#expr:{{{1|}}}}}|hy}}-րդ
  |ia = {{formatnum|{{#expr:{{{1|}}}}}|ia}}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#switch:{{#expr:abs({{{1|}}})mod 10}}
    |1|7=m
    |2=nd
    |3=ti
    |8=v
    |9=n
    |#default=t
    }}e{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |km = ទី{{formatnum|{{#expr:{{{1|}}}}}|km}}
  |ja = 第{{formatnum|{{#expr:{{{1|}}}}}|ja}}<!-- this is for the adjective in undetermined order before noun; otherwise Japanese use: <cardinal number><noun>目 -->
  |la = ທີ່{{formatnum|{{#expr:{{{1|}}}}}|la}}
  |ko = {{formatnum|{{#expr:{{{1|}}}}}|ko}}째
  |mk = {{formatnum|{{#expr:{{{1|}}}}}|mk}}-{{#switch:{{#expr:abs({{{1|}}})mod 10}}|0|5|9=т|1=в|2=р|7|8=м|#default=}}иот
  |ml = {{formatnum|{{#expr:{{{1|}}}}}|ml}}-മത്തെ
  |ms = ke-{{formatnum|{{#expr:{{{1|}}}}}|ms}}
  |no = {{formatnum|{{#expr:{{{1|}}}}}|no}}{{#ifeq:{{{nosup|}}}|y||<sup>}}{{#switch:{{#expr:abs({{{1|}}})mod 100}}
    |1|21|31|41|51|61|71|81|91=st
    |2|22|32|42|52|62|72|82|92=dr
    |3|23|33|43|53|63|73|83|93=dj
    |5|25|35|45|55|65|75|85|95|6|26|36|46|56|66|76|86|96=t
    |#default=d
    }}e{{#ifeq:{{{nosup|}}}|y||</sup>}}
  |pl = {{formatnum|{{#expr:{{{1|}}}}}|pl}}-{{#switch:{{#expr:abs({{{1|}}})mod 100}}
    |1|21|31|41|51|61|71|81|91=sz{{#switch:{{{gender|}}}|f=a|n=e|#default=y}}
    |2|22|32|42|52|62|72|82|92=g{{#switch:{{{gender|}}}|f=a|n=ie|#default=i}}
    |3|23|33|43|53|63|73|83|93=ci{{#switch:{{{gender|}}}|f=a|n=e|#default=}}
    |7|27|37|47|57|67|77|87|97|8|28|38|48|58|68|78|88|98=m{{#switch:{{{gender|}}}|f=a|n=e|#default=y}}
    |#default=t{{#switch:{{{gender|}}}|f=a|n=e|#default=y}}
    }}
  |ru = {{formatnum|{{#expr:{{{1|}}}}}|ru}}-{{#switch:{{{gender|}}}|f=я|n=е|#default=й}}
  |sv = {{formatnum|{{#expr:{{{1|}}}}}|sv}}:{{#switch:{{#expr:abs({{{1|}}})mod 100}}
    |1|21|31|41|51|61|71|81|91=a
    |2|22|32|42|52|62|72|82|92=a
    |#default=e
    }}
  |th = ที่{{formatnum|{{#expr:{{{1|}}}}}|th}}
  |zh = 第{{formatnum|{{#expr:{{{1|}}}}}|zh}}
  |zh-hans = 第{{formatnum|{{#expr:{{{1|}}}}}|zh-hans}}
  |zh-hant = 第{{formatnum|{{#expr:{{{1|}}}}}|zh-hant}}
  }}
| {{#if:{{{debug|}}}|{{error|1=<span title="Error: not a number">{{{1|}}}</span>}}|{{{1|}}}}}
}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.