Difference between revisions of "Template:Plural"

From RobotX
Jump to navigation Jump to search
Mediawiki>Hashar
m (15 revisions imported from w:en:Template:Plural)
 
Wikimedia Commons>Tacsipacsi
(move category to documentation subpage)
Line 1: Line 1:
{{{1}}}{{{{{|safesubst:}}}#if:{{{{{|safesubst:}}}yesno|{{{nb|no}}}|no=}}|&nbsp;|&#32;}}{{{{{|safesubst:}}}plural:{{{1}}}|{{{2}}}|{{{3|{{{2}}}s}}}|{{{4}}}}}<noinclude>
+
{{#if:{{{shownum|{{{sn|}}}}}} |<!--then:-->{{{1}}}{{#switch: {{{space|}}}
{{documentation}}
+
|none=<!--no space-->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
|plain=&#32;<!--normal space-->
 +
|nb|nbsp|#default=&nbsp;<!--non-breaking space-->
 +
}}<!--end #switch: {{{space|}}}-->}}<!--end #if:{{{shownum|}}}
 +
 
 +
-->{{#switch: {{{lang|}}}
 +
|cs|sk={{#switch: {{{1|}}} |1= {{{2|}}} |2|3|4= {{{3|}}} |#default= {{{4|}}} }}
 +
|am|fr|hi|hy|ln|mg|pt-br|ti|tl|wa={{#ifexpr: {{{1|}}} <= 1 | {{{2|}}} | {{{3|}}} }}
 +
|be|be-tarask|bs|hr|ru|sh|sr|sr-ec|sr-el|uk={{#ifexpr: ({{{1|}}} > 10) and trunc(({{{1|}}} mod 100) / 10) = 1 | {{{4|}}} | {{#switch: {{#expr:{{{1|}}} mod 10}} |1= {{{2|}}} |2|3|4= {{{3|}}} |#default= {{{4|}}} }} }}
 +
|ro={{#ifeq: {{{1|}}} | 1 | {{{2|}}} | {{#ifexpr: {{{1|}}} mod 100 < 20 | {{{3|}}} | {{{4|}}} }} }}
 +
|#default={{#ifeq: {{{1|}}} | 1 | {{{2|}}} | {{{3|}}} }}
 +
}}<!--end #switch: {{{lang|}}}--><noinclude>{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:15, 3 November 2019

Lua error in mw.title.lua at line 209: too many expensive function calls.