Difference between revisions of "Template:ListVariants"

From Pathfinder Wiki
Line 4: Line 4:
 
{{#vardefine:sadvar|{{Has Variant|page={{{page}}}|division=South American Division}}}}{{#if:{{#var:sadvar}}|[[{{#var:sadvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
{{#vardefine:sadvar|{{Has Variant|page={{{page}}}|division=South American Division}}}}{{#if:{{#var:sadvar}}|[[{{#var:sadvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
{{#vardefine:spdvar|{{Has Variant|page={{{page}}}|division=South Pacific Division}}}}{{#if:{{#var:spdvar}}|[[{{#var:spdvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
{{#vardefine:spdvar|{{Has Variant|page={{{page}}}|division=South Pacific Division}}}}{{#if:{{#var:spdvar}}|[[{{#var:spdvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
{{#var:numvariants}}
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 00:16, 27 February 2021