Difference between revisions of "Template:ShowVariants"

From Pathfinder Wiki
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#vardefine:page|{{#titleparts:{{{page|{{PAGENAME}}}}}|2}}}}
 
{{#vardefine:page|{{#titleparts:{{{page|{{PAGENAME}}}}}|2}}}}
{{#if:{{IsVariant|page={{#var:page}}}}|This version of the honor is a variant of [[{{IsVariant|page={{#var:page}}}}]]|
+
{{#vardefine:isvariant|{{IsVariant|page={{#var:page}}|text=This version of the honor is a variant of}}}}
 +
{{#if:{{#var:isvariant}}|{{#var:isvariant}}|
 
{{#if:{{ListVariants|page={{#var:page}}}}|There is another version of this honor at [[{{ListVariants|page={{#var:page}}}}]]}}}}
 
{{#if:{{ListVariants|page={{#var:page}}}}|There is another version of this honor at [[{{ListVariants|page={{#var:page}}}}]]}}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 01:40, 27 February 2021

This template detects variants of this honor indicated by page. If page is not supplied, it assumes the invoking page is an honor.



There is another version of this honor at [[AY Honors/Archery (General Conference)
]]



This version of the honor is a variant of AY Honor Archery