Template:Closed place: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 11: Line 11:
{{Closed place}}
{{Closed place}}


== TemplateData ==
<templatedata>
{
"params": {
"1": {
"label": "Alternate text",
"description": "Custom text to display in the message box, instead of the default message.",
"type": "string"
}
},
"description": "Included as a notice on places that are no longer active."
}
</templatedata>
</noinclude><!--
</noinclude><!--
--><includeonly>{{mbox
--><includeonly>{{mbox

Revision as of 22:44, 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 also adds the page to Category:Closed places.

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 closed year was provided in the Form:Place for that page, a line about it will be included as well.

{{Closed place}}
This article describes a place which no longer exists.