Difference between revisions of "Template:ParentsOf"
From AtlasWiki
(Fix missing pipe in call to TrimNamespace) |
(includeonly to avoid invalid output) |
||
Line 4: | Line 4: | ||
Format: | Format: | ||
<pre>{{ParentsOf|child}}</pre> | <pre>{{ParentsOf|child}}</pre> | ||
− | </noinclude>{{#show:{{TrimNamespace|{{{1}}}}}|?extends|link=none}}<noinclude>[[Category:XCSG Templates]]</noinclude> | + | </noinclude><includeonly>{{#show:{{TrimNamespace|{{{1}}}}}|?extends|link=none}}</includeonly><noinclude>[[Category:XCSG Templates]]</noinclude> |
Revision as of 10:23, 22 April 2014
Returns the name of the parent of the requested page, or a comma-separated list of parents if there is more than one.
Format:
{{ParentsOf|child}}