Difference between revisions of "Template:Honor index"

From Pathfinder Wiki
m (Reverted edits by DesignerThan (talk) to last revision by Jomegat)
Tag: Rollback
Line 1: Line 1:
 
<!--- ¦ --->
 
<!--- ¦ --->
 
<includeonly>
 
<includeonly>
 +
<!-- that loop's through all argument's with the prefix cat and saves it into a variable -->
 +
{{#forargs: cat | key | category |<nowiki />{{#vardefine: argIncCat |{{#var:argIncCat}}{{#if:{{#var:category}}|&{{#var:category}} }} }} }}
 
{{#dpl:
 
{{#dpl:
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
Line 6: Line 8:
 
</noinclude>Honor,Patch,Category,Approval,Skill<br/>Level,Year<noinclude></translate></noinclude>
 
</noinclude>Honor,Patch,Category,Approval,Skill<br/>Level,Year<noinclude></translate></noinclude>
 
|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{{#var:argIncCat}}
{{#if:{{{cat1|}}}|&{{{cat1}}}}}
 
{{#if:{{{cat2|}}}|&{{{cat2}}}}}
 
{{#if:{{{cat3|}}}|&{{{cat3}}}}}
 
{{#if:{{{cat4|}}}|&{{{cat4}}}}}
 
{{#if:{{{cat5|}}}|&{{{cat5}}}}}
 
 
|notcategory={{{excat1|}}}
 
|notcategory={{{excat1|}}}
 
|notcategory={{{excat2|}}}
 
|notcategory={{{excat2|}}}

Revision as of 22:29, 21 January 2021