Template:IsPartOf: Difference between revisions

From Dive Atlas
mNo edit summary
(Simplify more!)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch:{{NAMESPACE}}|{{ns:0}}|{{ns:14}}={{#if: {{{1}}} |{{#isin:{{{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. -->}}
{{#set: Part of={{{1}}}}}
{{#set: Part of={{{1}}}]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:11, 6 January 2025