Difference between revisions of "Template:Honor index"
From Pathfinder Wiki
Line 3: | Line 3: | ||
<!-- that loop's through all argument's with the prefix cat and saves it into a variable --> | <!-- that loop's through all argument's with the prefix cat and saves it into a variable --> | ||
{{#vardefine:argIncCat|AY Honors/Honor landing{{GetLangSuffix}}&AY Honors/Primary}}{{#forargs: cat | key | category |<nowiki />{{#vardefine: argIncCat |{{#var:argIncCat}}{{#if:{{#var:category}}|&{{#var:category}}{{GetLangSuffix}} }} }} }} | {{#vardefine:argIncCat|AY Honors/Honor landing{{GetLangSuffix}}&AY Honors/Primary}}{{#forargs: cat | key | category |<nowiki />{{#vardefine: argIncCat |{{#var:argIncCat}}{{#if:{{#var:category}}|&{{#var:category}}{{GetLangSuffix}} }} }} }} | ||
+ | {{#vardefine:argExcCat|¦notegory=AY Honors/Secondary}}{{#forargs: excat | exkey | excategory |<nowiki />{{#vardefine: argExcCat |{{#var:argExcCat}}{{#if:{{#var:excategory}}|¦notcategory={{#var:excategory}}{{GetLangSuffix}} }} }} }} | ||
{{#dpl: | {{#dpl: | ||
|debug=0 | |debug=0 | ||
Line 9: | Line 10: | ||
|tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦²{Localize¦%%}²,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%% | |tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦²{Localize¦%%}²,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%% | ||
|category={{#var:argIncCat}} | |category={{#var:argIncCat}} | ||
− | + | {{#var:argExcCat}} | |
− | |||
− | |||
− | |||
− | |||
|nottitleregexp=.*/en$ | |nottitleregexp=.*/en$ | ||
|ordermethod=sortkey | |ordermethod=sortkey |
Revision as of 02:23, 31 January 2021