Template:Region article/infobox: Difference between revisions

From Dive Atlas
Try option 1
Tag: Reverted
Try option 1
Tag: Reverted
Line 16: Line 16:
<div id="contains-item-hack" hidden="hidden">
<div id="contains-item-hack" hidden="hidden">
<!-- 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 -->
{{IsPartOf|{{{parent_region}}}}}
[[Category:Region]]
{{#ask: [[Part of::+]]
|format=tree
|parent=Part of
|root={{FULLPAGENAME}}
|link=none
|template=InheritanceTreeFormat
|limit=5000
}}
{{#set:
{{#set:
|Contains item={{FULLPAGENAME}}
|Contains item={{FULLPAGENAME}}