Template:Inactive place: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
| text={{#if:{{#show:{{PAGENAME}}|?Has status message}}|{{#show:{{PAGENAME}}|?Has status message}}|This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} which is no longer active.}} | | text={{#if:{{#show:{{PAGENAME}}|?Has status message}}|{{#show:{{PAGENAME}}|?Has status message}}|This article describes a {{#if:{{#show:{{PAGENAME}}|?Has place type}}|{{lc:{{#arraymap:{{#show:{{PAGENAME}}|?Has place type}}|,|@@@@|@@@@|/}}}}|place}} which is no longer active.}} | ||
| color_bar=#B9C3CD | | color_bar=#B9C3CD | ||
| class=place | | class=inactive-place-ambox | ||
}}[[Category:Inactive places]]<!-- | }}[[Category:Inactive places]]<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 01:04, 16 December 2024
This template displays a message on places with an "Inactive" status
value to let readers know they are viewing a page about a place which no longer uses a duplicator or is otherwise inactive. It also adds the page to Category:Inactive 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 "Status message" (i.e. status_text
) was provided for the form, this will replace the message box text.
{{Inactive place}}