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