Template:IsPartOf: Difference between revisions

From Dive Atlas
No edit summary
Add Semantic Mediawiki property indicating parent
Line 1: Line 1:
<includeonly>{{#switch:{{NAMESPACE}}|{{ns:0}}|{{ns:14}}={{#if: {{{1}}} |{{#isin:{{{1}}}}}
<includeonly>{{#switch:{{NAMESPACE}}|{{ns:0}}|{{ns:14}}={{#if: {{{1}}} |{{#isin:{{{1}}}}}
{{#ifexist:Category:{{{1}}}|[[Category:{{{1}}}]]|[[File:Categorisation-hierarchy-top2down.svg|alt=Create category|15px|link=//diveatlas.org/w/index.php?title={{urlencode:Category:{{{1}}}}}&action=edit&preload=Template:IsPartOf/preload]] [[Category:Articles needing IsPartOf category]]}}|[[Category:Articles needing IsPartOf parameter]]}}| #default =<!-- Don't categorize when not in main (article) space or a category. -->}}</includeonly>
{{#ifexist:Category:{{{1}}}|[[Category:{{{1}}}]]|[[File:Categorisation-hierarchy-top2down.svg|alt=Create category|15px|link=//diveatlas.org/w/index.php?title={{urlencode:Category:{{{1}}}}}&action=edit&preload=Template:IsPartOf/preload]] [[Category:Articles needing IsPartOf category]]}}|[[Category:Articles needing IsPartOf parameter]]}}| #default =<!-- Don't categorize when not in main (article) space or a category. -->}}</includeonly>
[[Part of::{{{1}}}]]
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 18:57, 17 June 2024