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}}|\n{{!}}notcategory={{#var:excategory}}{{GetLangSuffix}} }} }} }}
+
{{#dpl:
{{#deepl:
 
 
|debug=0
 
|debug=0
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
 
|include={honor_landing}:honorname:insignia:category:authority:skill:year
Line 10: Line 9:
 
|tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦²{Localize¦%%}²,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%%
 
|tablerow=[[%PAGE%¦%%]],[[File:%%¦30px¦center]],align="left"¦²{Localize¦%%}²,align="center"¦²{division honor¦²{division abbrev¦%%}²}²,align="center"¦%%,align="center"¦%%
 
|category={{#var:argIncCat}}
 
|category={{#var:argIncCat}}
{{#var:argExcCat}}
+
|notcategory={{#if:{{{excat1|}}}|{{{excat1}}}{{GetLangSuffix}}}}
 +
|notcategory={{#if:{{{excat2|}}}|{{{excat2}}}{{GetLangSuffix}}}}
 +
|notcategory={{#if:{{{excat3|}}}|{{{excat3}}}{{GetLangSuffix}}}}
 +
|notcategory={{#if:{{{excat4|}}}|{{{excat4}}}{{GetLangSuffix}}}}
 +
|notcategory={{#if:{{{excat5|}}}|{{{excat5}}}{{GetLangSuffix}}}}
 
|nottitleregexp=.*/en$
 
|nottitleregexp=.*/en$
 
|ordermethod=sortkey
 
|ordermethod=sortkey
Line 16: Line 19:
 
}}
 
}}
 
</includeonly>
 
</includeonly>
<noinclude><nowiki />{{Honor index2
+
<noinclude><nowiki />{{Honor index
 
|cat1=AY Honors/Arts, Crafts and Hobbies
 
|cat1=AY Honors/Arts, Crafts and Hobbies
 
|cat2=AY Honors/Skill Level 1
 
|cat2=AY Honors/Skill Level 1

Revision as of 00:18, 25 February 2021


Honor Patch Category Approval Skill Level Year
Fabric Yo-Yo
Fuxico AY Honor.png
Arts, Crafts and Hobbies SAD tiny.png 1 2012
Music - Beginners
Music Honor AY Honor.png
Arts, Crafts and Hobbies SPD tiny.png 1 Unknown
Papercraft
Papercraft AY Honor.png
Arts, Crafts and Hobbies SAD tiny.png 1 2012