Template:IsPartOf: Difference between revisions

From Dive Atlas
No edit summary
(Simplify more!)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{NAMESPACE}}|{{ns:0}}|{{ns:14}}={{#if: {{{1}}} |{{#isin:{{{1}}}}}
<includeonly>
{{#ifexist:Category:{{{1}}}|[[Category:{{{1}}}]]|[[File:Categorisation-hierarchy-top2down.svg|alt=Create category|15px|link=//divesite.wiki/w/index.php?title={{urlencode:Category:{{{1}}}}}&action=edit&preload=Template:IsPartOf/preload]] [[Category:Articles needing IsPartOf category]]}}|[[Category:Articles needing IsPartOf parameter]]}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:All destination articles]]}}| #default =<!-- Don't categorize when not in main (article) space or a category. -->}}{{#ifeq:{{#invoke:wikibase|disambig}}|false||[[Category:Pages linked to a data item for a disambiguation]]}}</includeonly>
{{#isin:{{{1}}}}}
{{#set: Part of={{{1}}}}}
</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:11, 6 January 2025