Template:Unknown status place: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


== Usage ==
== 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. <code>status_text</code>) was provided for the form, this will replace the message box text.
This template takes no parameters, and instead gathers all its information from the semantic properties of the parent page. If a "Status message" via the <code>status_text</code> parameter was provided for the form, this will replace the message box text.
<pre>
<pre>
{{Unknown status place}}
{{Unknown status place}}
</pre>
</pre>
{{mbox
{{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><em>You can help by investigating and updating this page.</em></p>
  | text=<p>This article describes a place of unknown status—it may be closed or otherwise inactive.</p><p><em>You can help by investigating and updating this page (see [[Help:Validating a place]]).</em></p>
  | color_bar=#FFB511
  | color_bar=#FFB511
| background=#fffbf3
| border=1px solid #fff0cf
  | icon=ghost
  | icon=ghost
  | class=unknown-status-place-ambox
  | class=unknown-status-place-ambox
Line 19: Line 21:
  | 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><em>You can help by investigating and updating this page.</em></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><em>You can help by investigating and updating this page.</em></p>
  | color_bar=#FFB511
  | color_bar=#FFB511
| background=#fffbf3
| border=1px solid #fff0cf
  | icon=ghost
  | icon=ghost
  | class=unknown-status-place-ambox
  | class=unknown-status-place-ambox
}}[[Category:Places of unknown status]]<!--
}}[[Category:Places of unknown status]]<!--
--></includeonly>
--></includeonly>

Latest revision as of 19:35, 18 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:Place 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" via the status_text parameter 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 investigating and updating this page (see Help:Validating a place).