Template:Category group: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#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|{{string split|{{category group check|1}}|" "|2}}|+| }}}}|-|-1}}|Add "{{category group check|1}}" category|Do nothing}}
{{#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}}|Add ''{{category group check|1}}'' category|Do nothing}}


</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 16:46, 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