Difference between revisions of "Template:Honor index"

From Pathfinder Wiki
(edited the template so it is not locked to 5 user defined categories (both for cat and for excat))
Line 8: Line 8:
 
|category=AY Honors/Honor landing&AY Honors/Primary
 
|category=AY Honors/Honor landing&AY Honors/Primary
 
{{#forargs: cat | key | category |<nowiki />{{#if:{{#var: category }}|&{{#var: category}}}}}}
 
{{#forargs: cat | key | category |<nowiki />{{#if:{{#var: category }}|&{{#var: category}}}}}}
{{#forargs: excat1 | key | notcategory |<nowiki />{{#if:{{#var: notcategory }}|{{#ifexpr: ({{#var: key}} != 1)|&}}{{#var: notcategory}}}}}}
+
|{{#forargs: excat1 | key | notcategory |<nowiki />{{#if:{{#var: notcategory }}|{{#ifexpr: ({{#var: key}} != 1)|&}}{{#var: notcategory}}}}}}
 
|nottitleregexp=.*/en$
 
|nottitleregexp=.*/en$
 
|ordermethod=sortkey
 
|ordermethod=sortkey

Revision as of 03:16, 21 January 2021