Template:WikiFactorCat: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(Fixed)
(improve code -- more easy to understand)
Line 1: Line 1:
<includeonly>{{#ifexpr:(200<={{{1}}})
<includeonly>{{#switch:1|
|greater or equal to 200
|{{#expr:(200<={{{1}}})}} = greater or equal to 200
|{{#ifexpr:(100<={{{1}}})
|{{#expr:(100<={{{1}}})}} = between 100 and 199
|between 100 and 199
|{{#expr:(50<={{{1}}})}} = between 50 and 99
|{{#ifexpr:(50<={{{1}}})
|{{#expr:(20<={{{1}}})}} = between 20 and 49
|between 50 and 99
|{{#expr:(10<={{{1}}})}} = between 10 and 19
|{{#ifexpr:(20<={{{1}}})
|{{#expr:(9={{{1}}})}} = 9
|between 20 and 49
|{{#expr:(8={{{1}}})}} = 8
|{{#ifexpr:(10<={{{1}}})
|{{#expr:(7={{{1}}})}} = 7
|between 10 and 19
|{{#expr:(6={{{1}}})}} = 6
|{{#ifexpr:(9={{{1}}})
|{{#expr:(5={{{1}}})}} = 5
|9
|{{#expr:(4={{{1}}})}} = 4
|{{#ifexpr:(8={{{1}}})
|{{#expr:(3={{{1}}})}} = 3
|8
|{{#expr:(2={{{1}}})}} = 2
|{{#ifexpr:(7={{{1}}})
|{{#expr:(1={{{1}}})}} = 1
|7
|#default = 0
|{{#ifexpr:(6={{{1}}})
</includeonly><noinclude>
|6
|{{#ifexpr:(5={{{1}}})
|5
|{{#ifexpr:(4={{{1}}})
|4
|{{#ifexpr:(3={{{1}}})
|3
|{{#ifexpr:(2={{{1}}})
|2
|{{#ifexpr:(1={{{1}}})
|1
|0
}}
}}
}}
}}
}}
}}
}}
}}
}}
}}
}}
}}
}}
}}</includeonly><noinclude>
:Do <u>not</u> use this [[:Category:Templates|template]] directly.  
:Do <u>not</u> use this [[:Category:Templates|template]] directly.  



Revision as of 06:57, 9 August 2013

Do not use this template directly.

Use template:wikiFactorCatText instead in template:size for auto-categorization of wiki article pages by the new wikiFactor.