Template:SizeCat: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(improve code -- more easy to understand)
Line 1: Line 1:
{{#ifexpr: {{{1}}} > 0
{{#switch:1|
|{{#ifexpr: {{{1}}} > 10
|{{#expr:{{{1}}} > 5000000}} = Wiki with more than 5,000,000 pages
|{{#ifexpr: {{{1}}} > 20
|{{#expr:{{{1}}} > 2000000}} = {{WikiWithPagesBetween|2,000,001|5,000,000}}
|{{#ifexpr: {{{1}}} > 50
|{{#expr:{{{1}}} > 1000000}} = {{WikiWithPagesBetween|1,000,001|2,000,000}}
|{{#ifexpr: {{{1}}} > 100
|{{#expr:{{{1}}} > 500000}} = {{WikiWithPagesBetween|500,001|1,000,000}}
|{{#ifexpr: {{{1}}} > 200
|{{#expr:{{{1}}} > 200000}} = {{WikiWithPagesBetween|200,001|500,000}}
|{{#ifexpr: {{{1}}} > 500
|{{#expr:{{{1}}} > 100000}} = {{WikiWithPagesBetween|100,001|200,000}}
|{{#ifexpr: {{{1}}} > 1000
|{{#expr:{{{1}}} > 50000}} = {{WikiWithPagesBetween|50,001|100,000}}
|{{#ifexpr: {{{1}}} > 2000
|{{#expr:{{{1}}} > 20000}} = {{WikiWithPagesBetween|20,001|50,000}}
|{{#ifexpr: {{{1}}} > 5000
|{{#expr:{{{1}}} > 10000}} = {{WikiWithPagesBetween|10,001|20,000}}
|{{#ifexpr: {{{1}}} > 10000
|{{#expr:{{{1}}} > 5000}} = {{WikiWithPagesBetween|5,001|10,000}}
|{{#ifexpr: {{{1}}} > 20000
|{{#expr:{{{1}}} > 2000}} = {{WikiWithPagesBetween|2,001|5,000}}
|{{#ifexpr: {{{1}}} > 50000
|{{#expr:{{{1}}} > 1000}} = {{WikiWithPagesBetween|1,001|2,000}}
|{{#ifexpr: {{{1}}} > 100000
|{{#expr:{{{1}}} > 500}} = {{WikiWithPagesBetween|501|1,000}}
|{{#ifexpr: {{{1}}} > 200000
|{{#expr:{{{1}}} > 200}} = {{WikiWithPagesBetween|201|500}}
|{{#ifexpr: {{{1}}} > 500000
|{{#expr:{{{1}}} > 100}} = {{WikiWithPagesBetween|101|200}}
|{{#ifexpr: {{{1}}} > 1000000
|{{#expr:{{{1}}} > 50}} = {{WikiWithPagesBetween|51|100}}
|{{#ifexpr: {{{1}}} > 2000000
|{{#expr:{{{1}}} > 20}} = {{WikiWithPagesBetween|21|50}}
|{{#ifexpr: {{{1}}} > 5000000
|{{#expr:{{{1}}} > 10}} = {{WikiWithPagesBetween|11|20}}
| Wiki with more than 5,000,000 pages
|{{#expr:{{{1}}} > 0}} = {{WikiWithPagesBetween|1|10}}
| {{WikiWithPagesBetween|2,000,001|5,000,000}} }}
|#default = Empty wiki
| {{WikiWithPagesBetween|1,000,001|2,000,000}} }}
}}<noinclude>
| {{WikiWithPagesBetween|500,001|1,000,000}} }}
| {{WikiWithPagesBetween|200,001|500,000}} }}
| {{WikiWithPagesBetween|100,001|200,000}} }}
| {{WikiWithPagesBetween|50,001|100,000}} }}
| {{WikiWithPagesBetween|20,001|50,000}} }}
| {{WikiWithPagesBetween|10,001|20,000}} }}
| {{WikiWithPagesBetween|5,001|10,000}} }}
| {{WikiWithPagesBetween|2,001|5,000}} }}
| {{WikiWithPagesBetween|1,001|2,000}} }}
| {{WikiWithPagesBetween|501|1,000}} }}
| {{WikiWithPagesBetween|201|500}} }}
| {{WikiWithPagesBetween|101|200}} }}
| {{WikiWithPagesBetween|51|100}} }}
| {{WikiWithPagesBetween|21|50}} }}
| {{WikiWithPagesBetween|11|20}} }}
| {{WikiWithPagesBetween|1|10}} }}
| Empty wiki}}<noinclude>
----
----



Revision as of 07:18, 9 August 2013

Empty wiki


this template is used exclusively by template:size