Open main menu

Changes

Template:Historical/doc

3,900 bytes added, 15:37, June 15, 2019
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
===Basics===
* To include a shortcut, pass a [[Help:Template#Parameters|parameter]]: {{Tnull|Historical|2=WP:SHORT}}.
* To provide a last-updated date, use the named parameter "last" or "date", i.e. {{Tnull|Historical|2=last=1 January 2000}}. This should only be used for {{em|substantive}} updates, not things like bot tweaks or typo fixes.
* To provide a briefer form of the text, use {{Tnull|Historical|2=brief=yes}}
* For a former policy, use {{Tnull|Historical|2=type=policy}}
* For a former guideline, use {{Tnull|Historical|2=type=guideline}}
* For a page closed down by explicit community consensus, use {{Tnull|Historical|2=type=woundup}}
* To provide an explanatory comment, use {{Tnull|Historical|2=comment=explanatory text here}}. If you want to point to a successor page, use {{tlx|Superseded}} instead of {{tnull|Historical}}.
* Pages using this template will be placed into [[:Category:Inactive project pages]] unless the parameter {{para|category|no}} is given: {{tnull|Historical|2=category=no}} (user and user talk pages are not categorized).
* For related [[:Category:Wikipedia header templates|Wikipedia header templates]], see [[Wikipedia:Template messages/Wikipedia namespace|Template messages/Wikipedia namespace]].
* Please note that this template is {{em|not}} appropriate for [[WP:PORTAL|portals]], which exist for the purpose of informing readers on a given topic and, as such, can never truly be "inactive".
*It is also not appropriate for inactive WikiProjects which are dealt with according to the [[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|WikiProject Council/Guide]]; these should be tagged with {{tlx|WikiProject status|Defunct}} or {{tlx|WikiProject status|Inactive}}.

===Adding shortcuts===
*In addition, a shortcut can be added to this template by using the following syntax:

:{{Tlc|Historical|SHORTCUT}}

*Up to 5 shortcuts can be added to this template in this fashion:

:{{Tlc|Historical|SHORTCUT1|SHORTCUT2|SHORTCUT3|SHORTCUT4|SHORTCUT5}}

===TemplateData===
<templatedata>
{
"params": {
"1": {
"label": "Shortcut 1",
"type": "wiki-page-name"
},
"2": {
"label": "Shortcut 2",
"type": "wiki-page-name"
},
"3": {
"label": "Shortcut 3",
"type": "wiki-page-name"
},
"4": {
"label": "Shortcut 4",
"type": "wiki-page-name"
},
"5": {
"label": "Shortcut 5",
"type": "wiki-page-name"
},
"last": {
"description": "The date of the last substantative update to this page.",
"type": "date",
"suggested": true
},
"date": {
"description": "Formerly an alias for last.",
"type": "date",
"deprecated": "Deprecated for confusion with deprecated-date"
},
"type": {
"type": "line",
"suggested": true,
"description": "The type of page this is, eg. policy, guideline, script, etc.",
"example": "policy"
},
"brief": {
"type": "boolean",
"description": "Whether to use a shortened message.",
"default": "no"
},
"comment": {
"type": "string",
"suggested": true,
"description": "A message explaining why the page is obsolete"
},
"category": {
"description": "Whether to include this in [[:Category:Inactive project pages]]",
"example": "category=no",
"type": "boolean",
"default": "yes"
}
},
"paramOrder": [
"1",
"2",
"3",
"4",
"5",
"last",
"date",
"type",
"brief",
"comment",
"category"
],
"format": "inline"
}
</templatedata>

==See also==
* {{tl|WikiProject status}}
* {{tl|failed}} for proposals that were never adopted
* [[Wikipedia:Template messages/Wikipedia namespace]] for a listing of Wikipedia namespace banners.

<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Wikipedia header templates|Historical]]

</includeonly>
Anonymous user