Template:Region article/infobox: Difference between revisions

From Dive Atlas
m (Mediawiki does not like empty attributes)
Tag: Reverted
(Make sites count recursive to all child regions)
 
(12 intermediate revisions by the same user not shown)
Line 11: Line 11:
|-
|-
! Dive sites in this region
! Dive sites in this region
|{{#ask:[[Category:{{SUBJECTPAGENAME}}]] [[Category:Dive sites]]|format=count}}
|{{#ask:[[-Contains item::{{SUBJECTPAGENAME}}]] [[Category:Dive sites]]|format=count}}
|}
|}
</div>
</div>
<div hidden="">
<!-- This hacky query has the effect of setting the property "Contains item" on every item in the "part of" hierarchy below this page -->
{{IsPartOf|{{{parent_region}}}}}
{{IsPartOf|{{{parent_region}}}}}
[[Category:Region]]
[[Category:Region]]
<div id="contains-item-hack" aria-hidden="true" style="display: none">
<!-- This hacky query has the effect of setting the property "Contains item" on every item in the "part of" hierarchy below this page -->
{{#ask: [[Part of::+]]
{{#ask: [[Part of::+]]
|format=tree
|format=tree

Latest revision as of 02:34, 15 January 2025

This is the "Region article/infobox" template.

It should be called in the following format:

{{Region article/infobox
|parent_region=
}}

Edit the page to see the template text.