Difference between revisions of "Template:Honor index"

From Pathfinder Wiki
m (Reverted edits by DesignerThan (talk) to last revision by Jomegat)
Tag: Rollback
Line 2: Line 2:
 
<includeonly>
 
<includeonly>
 
{{#dpl:
 
{{#dpl:
|debug=3
 
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|table=class="wikitable sortable",-,<noinclude><translate><!--T:1-->
 
|table=class="wikitable sortable",-,<noinclude><translate><!--T:1-->
Line 8: Line 7:
 
|tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦%%,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%%
 
|tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦%%,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%%
 
|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}}}}}}
+
{{#if:{{{cat1|}}}|&{{{cat1}}}}}
{{#forargs: excat | key | category |<nowiki />{{#if:{{#var: category }}|{{!}}notcategory={{#var: category}}}}}}
+
{{#if:{{{cat2|}}}|&{{{cat2}}}}}
 +
{{#if:{{{cat3|}}}|&{{{cat3}}}}}
 +
{{#if:{{{cat4|}}}|&{{{cat4}}}}}
 +
{{#if:{{{cat5|}}}|&{{{cat5}}}}}
 +
|notcategory={{{excat1|}}}
 +
|notcategory={{{excat2|}}}
 +
|notcategory={{{excat3|}}}
 +
|notcategory={{{excat4|}}}
 +
|notcategory={{{excat5|}}}
 
|nottitleregexp=.*/en$
 
|nottitleregexp=.*/en$
 
|ordermethod=sortkey
 
|ordermethod=sortkey
 +
|suppresserrors=true
 
|namespace=
 
|namespace=
 
}}
 
}}

Revision as of 04:13, 21 January 2021