Template:Region article/infobox: Difference between revisions

From Dive Atlas
(Missing closing braces?)
Tag: Reverted
(hidden element is ignored by mediawiki, try aria and style)
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
|}
|}
</div>
</div>
<div id="contains-item-hack" hidden="hidden">
{{IsPartOf|{{{parent_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 -->
<!-- This hacky query has the effect of setting the property "Contains item" on every item in the "part of" hierarchy below this page -->
{{#set:
{{#ask: [[Part of::+]]
|Contains item={{FULLPAGENAME}}
|format=tree
|Contains item={{#ask: [[-Contains item::<q>[[Part of::{{FULLPAGENAME}}]]</q>]]|format=plainlist|link=none}}|+sep=,}}
|parent=Part of
|root={{FULLPAGENAME}}
|link=none
|template=InheritanceTreeFormat
|limit=5000
}}
}}
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 23:05, 5 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.