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}} }} }} }}
 
{{#deepl:
 
{{#deepl:
 
|debug=0
 
|debug=0

Revision as of 02:36, 31 January 2021


{{#deepl: |debug=0 |include={honor_landing}:honorname:insignia:category:authority:skill:year |table=class="wikitable sortable",-,Honor,Patch,Category,Approval,Skill Level,Year |tablerow=%PAGE%¦%%,File:%%¦30px¦center,align="left"¦²{Localize¦%%}²,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%% |category=AY Honors/Honor landing&AY Honors/Primary&AY Honors/Arts, Crafts and Hobbies&AY Honors/Skill Level 1 |notcategory=AY Honors/Secondary¶|notcategory=AY Honors/Approved by General Conference¶|notcategory=AY Honors/Approved by North American Division |nottitleregexp=.*/en$ |ordermethod=sortkey |namespace= }}