Template:Category group: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{# | {{#ifeq:{{category group check|1}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|1}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|1}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|1}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|2}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|2}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|2}}]]|}} | {{#ifeq:{{category group check|2}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|2}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|2}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|2}}]]|{{clear}}}}}} | ||
{{# | {{#ifeq:{{category group check|3}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|3}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|3}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|3}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|4}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|4}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|4}}]]|}} | {{#ifeq:{{category group check|4}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|4}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|4}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|4}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|5}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|5}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|5}}]]|}} | {{#ifeq:{{category group check|5}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|5}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|5}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|5}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|6}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|6}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|6}}]]|}} | {{#ifeq:{{category group check|6}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|6}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|6}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|6}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|7}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|7}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|7}}]]|}} | {{#ifeq:{{category group check|7}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|7}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|7}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|7}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|8}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|8}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|8}}]]|}} | {{#ifeq:{{category group check|8}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|8}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|8}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|8}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|9}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|9}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|9}}]]|}} | {{#ifeq:{{category group check|9}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|9}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|9}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|9}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|10}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|10}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|10}}]]|}} | {{#ifeq:{{category group check|10}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|10}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|10}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|10}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|11}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|11}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|11}}]]|}} | {{#ifeq:{{category group check|11}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|11}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|11}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|11}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|12}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|12}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|12}}]]|}} | {{#ifeq:{{category group check|12}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|12}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|12}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|12}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|13}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|13}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|13}}]]|}} | {{#ifeq:{{category group check|13}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|13}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|13}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|13}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|14}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|14}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|14}}]]|}} | {{#ifeq:{{category group check|14}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|14}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|14}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|14}}]]|{{clear}}}}}} | ||
{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|15}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|15}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|15}}]]|}} | {{#ifeq:{{category group check|15}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|15}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|15}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|15}}]]|{{clear}}}}}} | ||
{{#ifeq:{{category group check|16}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|16}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|16}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|16}}]]|{{clear}}}}}} | |||
{{#ifeq:{{category group check|17}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|17}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|17}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|17}}]]|{{clear}}}}}} | |||
{{#ifeq:{{category group check|18}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|18}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|18}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|18}}]]|{{clear}}}}}} | |||
{{#ifeq:{{category group check|19}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|19}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|19}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|19}}]]|{{clear}}}}}} | |||
{{#ifeq:{{category group check|20}}|Needs update|{{clear}}|{{#ifexpr:{{String split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|20}}|" "|2}}|+| }}}}|-|1}} <= {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} and {{string split|{{#titleparts:{{PAGENAME}}}}|" "|2}} <= {{string split|{{#invoke:String2 |trim |{{#invoke:String |replace |{{string split|{{category group check|20}}|" "|2}}|+| }}}}|-|-1}}|[[Category:{{category group check|20}}]]|{{clear}}}}}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Description == | == Description == |
Latest revision as of 16:52, 19 September 2024
Description
This is the Category group template. This template references {{category group check}} for the stored level <range> <type> lists to iterate from. It should be transcluded in category pages in the following format:
{{category group}}
Warning:
Parameters
- no parameters