Template:Category group: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 4: Line 4:
{{#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}}]]|}}
{{#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}}]]|}}


{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
{{#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}}]]|}}
</includeonly><noinclude>
</includeonly><noinclude>
== Description ==
== Description ==

Revision as of 15:57, 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:
If new category groups need to be added to the iteration list, add them in the {{category group check}} page.


Parameters

no parameters