Template:Closed place: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{{mbox | --><includeonly>{{mbox | ||
| title={{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{ucfirst:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}| | | title={{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{ucfirst:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|Place}}}} closed | ||
| text=This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{#lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} which no longer exists.{{#if:{{#show:{{PAGENAME}}|?Has closed year}}| {{PAGENAME}} closed in {{#show:{{PAGENAME}}|?Has closed year}}.|}} | | text=This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{#lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} which no longer exists.{{#if:{{#show:{{PAGENAME}}|?Has closed year}}| {{PAGENAME}} closed in {{#show:{{PAGENAME}}|?Has closed year}}.|}} | ||
| color_bar=#B9C3CD | | color_bar=#B9C3CD |
Revision as of 21:57, 15 December 2024
This template displays a message on places with a "closed" status
value to let readers know they are viewing a page about a place which no longer exists. 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.
{{Closed place}}
closed
| text=This article describes a place which no longer exists. | color_bar=#B9C3CD | class=place-closed-ambox
}}