Difference between revisions of "Template:GetMasterCategoryList"

From Pathfinder Wiki
Line 4: Line 4:
 
|category=Arts, Crafts and Hobbies
 
|category=Arts, Crafts and Hobbies
 
|master=Crime
 
|master=Crime
 +
|master2=Punishment
 
|mastergroup=flora}}
 
|mastergroup=flora}}
</noinclude><includeonly>
+
</noinclude><includeonly>{{#switch:{{{category}}}
{{#switch:{{{category}}}
 
 
   | Arts and Crafts ={{#vardefine:mlist|[[:Category:AY Honors/Artisan Master Award{{!}}Artisan Master Award]]}}
 
   | Arts and Crafts ={{#vardefine:mlist|[[:Category:AY Honors/Artisan Master Award{{!}}Artisan Master Award]]}}
 
   | Arts, Crafts and Hobbies ={{#vardefine:mlist|[[:Category:AY Honors/Artisan Master Award{{!}}Artisan Master Award]]}}
 
   | Arts, Crafts and Hobbies ={{#vardefine:mlist|[[:Category:AY Honors/Artisan Master Award{{!}}Artisan Master Award]]}}
Line 15: Line 15:
 
}}
 
}}
 
{{#if:{{{master|}}}|{{#varexists:mlist|{{#vardefine:mlist|{{#var:mlist}}<br>}}}}{{#vardefine:mlist|{{#var:mlist}}[[:Category:AY Honors/{{{master}}} Master Award{{!}}{{{master}}} Master Award]]}}}}
 
{{#if:{{{master|}}}|{{#varexists:mlist|{{#vardefine:mlist|{{#var:mlist}}<br>}}}}{{#vardefine:mlist|{{#var:mlist}}[[:Category:AY Honors/{{{master}}} Master Award{{!}}{{{master}}} Master Award]]}}}}
 +
{{#if:{{{master2|}}}|{{#varexists:mlist|{{#vardefine:mlist|{{#var:mlist}}<br>}}}}{{#vardefine:mlist|{{#var:mlist}}[[:Category:AY Honors/{{{master2}}} Master Award{{!}}{{{master2}}} Master Award]]}}}}
 
{{#var:mlist}}
 
{{#var:mlist}}
 
</includeonly>
 
</includeonly>

Revision as of 21:20, 14 January 2021