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}}}}}} | ||
− | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |