Difference between revisions of "Template:Honor index2"

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|¦notcategory=AY Honors/Secondary}}{{#forargs: excat | exkey | excategory |<nowiki />{{#vardefine: argExcCat |{{#var:argExcCat}}{{#if:{{#var:excategory}}|¦notcategory={{#var:excategory}}{{GetLangSuffix}} }} }} }}
+
{{#vardefine:argExcCat|¦notcategory=AY Honors/Secondary}}{{#forargs: excat | exkey | excategory |<nowiki />{{#vardefine: argExcCat |{{#var:argExcCat}}{{#if:{{#var:excategory}}|{{!}}notcategory={{#var:excategory}}{{GetLangSuffix}} }} }} }}
 
{{#dpl:
 
{{#dpl:
|debug=2
+
|debug=0
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|table=class="wikitable sortable",-,{{Localize|Honor}},{{Localize|Patch}},{{Localize|Category}},{{Localize|Approval}},{{Localize|Skill Level}},{{Localize|Year}}
 
|table=class="wikitable sortable",-,{{Localize|Honor}},{{Localize|Patch}},{{Localize|Category}},{{Localize|Approval}},{{Localize|Skill Level}},{{Localize|Year}}

Revision as of 02:33, 31 January 2021