Template:Closed place: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
This template displays a message on places with a "Closed" <code>status</code> 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]]. | This template displays a message on places with a "Closed" <code>status</code> 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: | It is embedded in [[Template:Place]] and should not need to be invoked directly. | ||
== Usage == | == Usage == | ||
Line 9: | Line 9: | ||
{{Closed place}} | {{Closed place}} | ||
</pre> | </pre> | ||
{{ | {{mbox | ||
| text=This article describes a place which no longer exists. It remains on the wiki for historical reference. | |||
| color_bar=#FF665E | |||
| class=closed-place-ambox | |||
| icon=heart-crack | |||
| background=#FFF7F7 | |||
| border=1px solid #FFF0EF | |||
}} | |||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{{mbox | --><includeonly>{{mbox | ||
Line 16: | Line 22: | ||
| color_bar=#FF665E | | color_bar=#FF665E | ||
| class=closed-place-ambox | | class=closed-place-ambox | ||
| icon= | | icon=heart-crack | ||
| background=#FFF7F7 | |||
| border=1px solid #FFF0EF | |||
}}[[Category:Closed places]]<!-- | }}[[Category:Closed places]]<!-- | ||
--></includeonly> | --></includeonly> |
Latest revision as of 15:03, 17 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: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 closed year was provided in the Form:Place for that page, a line about it will be included as well. If a "Status message" (i.e. status_text
) was provided for the form, this will replace the message box text.
{{Closed place}}