Difference between revisions of "Template:ListVariants"
From Pathfinder Wiki
(Created page with "<includeonly> {{#vardefine:gcvar|{{Has Variant|page={{{page}}}|division=General Conference}}}} {{#if:{{#var:gcvar}}|[[{{#var:gcvar}}]]}} </includeonly> <noinclude> {{ListVar...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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={{{page}}}|division= | ||
− | |||
− | {{#if:{{#var:gcvar}}|[[{{#var:gcvar}}]]}} | ||
− | </includeonly> | ||
<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)}} |
− | |||
</noinclude> | </noinclude> |