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...")
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#vardefine:gcvar|{{Has Variant|page={{{page}}}|division=General Conference}}}}
+
{{#vardefine:numvariants|0}}
 
+
{{#vardefine:gcvar|{{Has Variant|page={{{page}}}|division=General Conference}}}}{{#if:{{#var:gcvar}}|[[{{#var:gcvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
{{#if:{{#var:gcvar}}|[[{{#var:gcvar}}]]}}
+
{{#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}}}}}}
 +
{{#var:numvariants}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
  
 
{{ListVariants|page=AY Honors/Archery}}
 
{{ListVariants|page=AY Honors/Archery}}
 +
 +
{{ListVariants|page=AY Honors/Archery (General Conference)}}
  
 
</noinclude>
 
</noinclude>

Revision as of 18:35, 6 February 2021