Difference between revisions of "Template:ListVariants"
From Pathfinder Wiki
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:numvariants|0}}{{#vardefine:page|{{#titleparts:{{{page|{{PAGENAME}}}}}|2}}}} | + | <includeonly>{{#vardefine:numvariants|0}}{{#vardefine:page|{{#titleparts:{{{page|{{PAGENAME}}}}}|2}}}}{{#vardefine:gcvar|{{Has Variant|page={{#var:page}}|division=General Conference}}}}{{#vardefine:spdvar|{{Has Variant|page={{#var:page}}|division=South Pacific Division}}}}{{#vardefine:sadvar|{{Has Variant|page={{#var:page}}|division=South American Division}}}}{{#if:{{#var:gcvar}}|{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}{{#if:{{{text|}}}|{{{text}}} [[{{#var:gcvar}}]]|{{#var:gcvar}}}}<br/>}}{{#if:{{#var:sadvar}}|{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}{{#if:{{{text|}}}|{{{text}}} [[{{#var:sadvar}}]]|{{#var:sadvar}}}}<br/>}}{{#if:{{#var:spdvar}}|{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}{{#if:{{{text|}}}|{{{text}}} [[{{#var:spdvar}}]]|{{#var:spdvar}}}}}}</includeonly> |
− | {{#vardefine:gcvar|{{Has Variant|page={{#var:page}}|division=General Conference}}}}{{# | ||
<noinclude> | <noinclude> | ||
− | + | {{ListVariants|page=AY Honors/Archery|text=This honor has a variant at}} | |
− | {{ListVariants|page=AY Honors/Archery}} | ||
{{ListVariants|page=AY Honors/Archery (General Conference)}} | {{ListVariants|page=AY Honors/Archery (General Conference)}} | ||
</noinclude> | </noinclude> |