Difference between revisions of "Template:Honor index"

From Pathfinder Wiki
m (Remove leading colon from Localizaitons)
Line 2: Line 2:
 
<includeonly>
 
<includeonly>
 
<!-- 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 -->
{{#forargs: cat | key | category |<nowiki />{{#vardefine: argIncCat |{{#var:argIncCat}}{{#if:{{#var:category}}|&{{#var:category}} }} }} }}
+
{{#vardefine:argIncCat|AY Honors/Honor landing&AY Honors/Primary}}{{#forargs: cat | key | category |<nowiki />{{#vardefine: argIncCat |{{#var:argIncCat}}{{#if:{{#var:category}}|&{{#var:category}} }} }} }}
 
{{#dpl:
 
{{#dpl:
 
|debug=0
 
|debug=0
Line 8: Line 8:
 
|table=class="wikitable sortable",-,{{Localization:Honor{{GetLangSuffix}}}},{{Localization:Patch{{GetLangSuffix}}}},{{Localization:Category{{GetLangSuffix}}}},{{Localization:Approval{{GetLangSuffix}}}},{{Localization:Skill Level{{GetLangSuffix}}}},{{Localization:Year{{GetLangSuffix}}}}
 
|table=class="wikitable sortable",-,{{Localization:Honor{{GetLangSuffix}}}},{{Localization:Patch{{GetLangSuffix}}}},{{Localization:Category{{GetLangSuffix}}}},{{Localization:Approval{{GetLangSuffix}}}},{{Localization:Skill Level{{GetLangSuffix}}}},{{Localization:Year{{GetLangSuffix}}}}
 
|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{{#var:argIncCat}}
+
|category={{#var:argIncCat}}
 
|notcategory={{{excat1|}}}
 
|notcategory={{{excat1|}}}
 
|notcategory={{{excat2|}}}
 
|notcategory={{{excat2|}}}

Revision as of 21:20, 29 January 2021