Template:Unknown status place: Difference between revisions

From stencil.wiki
(Created page with "<noinclude> This template displays a message on places with an "Unknown" <code>status</code> value to let readers know they are viewing a page about a place which may no longer be active (and needs to be updated). It also adds the page to Category:Places of unknown status. It is embedded in Template:Page and should not need to be invoked directly. == Usage == This template takes no parameters, and instead gathers all its information from the semantic propertie...")
 
No edit summary
Line 13: Line 13:
</noinclude><!--
</noinclude><!--
--><includeonly>{{mbox
--><includeonly>{{mbox
  | text=<p>This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} of unknown status—it may be closed or otherwise inactive.</p><p>You can help by looking up the status and [https://new.stencil.wiki/w/index.php?title={{PAGENAME}}&action=formedit|adding it to this page]</p>
  | text=<p>This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} of unknown status—it may be closed or otherwise inactive.</p><p>You can help by looking up the status and adding it to this page.</p>
  | color_bar=#FFB511
  | color_bar=#FFB511
  | class=place-closed-ambox
  | class=place-closed-ambox
}}[[Category:Places of unknown status]]<!--
}}[[Category:Places of unknown status]]<!--
--></includeonly>
--></includeonly>

Revision as of 01:02, 16 December 2024

This template displays a message on places with an "Unknown" status value to let readers know they are viewing a page about a place which may no longer be active (and needs to be updated). It also adds the page to Category:Places of unknown status.

It is embedded in Template:Page and should not need to be invoked directly.

Usage

This template takes no parameters, and instead gathers all its information from the semantic properties of the parent page. If a "Status message" (i.e. status_text) was provided for the form, this will replace the message box text.

{{Unknown status place}}

This article describes a place of unknown status—it may be closed or otherwise inactive.

You can help by looking up the status and adding it to this page.