Difference between revisions of "Template:ListVariants"

From Pathfinder Wiki
 
(3 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:numvariants|0}}{{#vardefine:page|{{#titleparts:{{{page|{{PAGENAME}}}}}|2}}}}
 
{{#vardefine:gcvar|{{Has Variant|page={{#var:page}}|division=General Conference}}}}{{#if:{{#var:gcvar}}|[[{{#var:gcvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
{{#vardefine:sadvar|{{Has Variant|page={{#var:page}}|division=South American Division}}}}{{#if:{{#var:sadvar}}|[[{{#var:sadvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
{{#vardefine:spdvar|{{Has Variant|page={{#var:page}}|division=South Pacific Division}}}}{{#if:{{#var:spdvar}}|[[{{#var:spdvar}}]]{{#vardefine:numvariants|{{#expr: {{#var:numvariants}}+1}}}}}}
 
</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)}}
 
{{ListVariants|page=AY Honors/Archery (General Conference)}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 02:15, 27 February 2021


This honor has a variant at AY Honor Archery