Difference between revisions of "Template:Historical"

From blackwiki
Jump to navigation Jump to search
test>Stephen Bain
(convert GIF to equivalent PNG)
imported>SMcCandlish
(consistent date wording)
 
(156 intermediate revisions by 71 users not shown)
Line 1: Line 1:
{| class="messagebox"
+
{{mbox
|-
+
| type      = notice
| [[Image:Red x.png]]
+
| image      = [[File:Historical.svg|30px|alt=|link= WP:HISPAGES]]
| '''This Wikipedia article or category is currently inactive and is kept primarily for historical interest.''' If you want to revive discussion regarding the subject, you may try using the  [[{{NAMESPACE}} talk:{{PAGENAME}}|talk page]] or start a discussion at the [[Wikipedia:Village pump|village pump]].
+
| imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }}
|{{shortcut|{{{1|}}}}}
+
| text      = {{#switch:{{NAMESPACE}}
|}<includeonly>{{{category|[[Category:Wikipedia archives|{{PAGENAME}}]]}}}</includeonly><noinclude>
+
|User|User talk='''This user {{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||sub}}page is currently inactive and is retained for ''historical'' reference.'''<br /><span style="font-size: 90%">{{#if: {{{last|}}}{{{date|}}}|It was last substantively updated {{{last|{{{date|}}}}}}.<br />}}If you want to revive discussion regarding the subject, you might try contacting [[User talk:{{ROOTPAGENAME}}|the user in question]] or seeking broader input via a forum such as the [[Wikipedia:Village pump (proposals)|village pump]].</span>
----
+
|#default={{#switch:{{{type}}}
To include a shortcut, pass a parameter: <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|[[WP:SHORT]]}}</nowiki></code>.
+
  |policy='''This former [[Wikipedia:Policies and guidelines|Wikipedia policy]], no longer backed by community consensus, is retained for historical reference.'''
For related [[:Category:Wikipedia header templates|Wikipedia header templates]]
+
  |guideline='''This former [[Wikipedia:Policies and guidelines|Wikipedia guideline]], no longer backed by community consensus, is retained for historical reference.'''
see [[Wikipedia:Template messages/Project namespace|Template messages/Project namespace]].
+
  |woundup='''This page has been closed down by [[Wikipedia:Consensus|community consensus]], and is retained only for [[WP:HISPAGES|historical]] reference.'''<br /><span style="font-size: 90%">If you wish to restart discussion on the status of this page, seek community input at a forum such as the [[Wikipedia:Village pump|village pump]].</span>
 
+
  |#default='''This page is currently inactive and is retained for [[WP:HISPAGES|historical]] reference.'''{{#if: {{{brief|}}}||<br /><span style="font-size: 90%">Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the [[Wikipedia:Village pump (proposals)|village pump]].</span>
[[Category:Wikipedia header templates|Historical]]
+
}}
[[ja:Template:Historical]]
+
}}
[[zh:Template:Historical]]
+
}} <span style="font-size: 90%">{{{comment|{{{reason|{{{result|}}}}}}}}} {{#if: {{{last|}}}{{{date|}}}|It was last substantively updated {{{last|{{{date}}}}}}.}}</span>
 +
}}<includeonly>{{#switch:{{NAMESPACE}}|User|User talk=|#default={{#ifeq:{{{category}}}|no||[[Category:Inactive project pages|{{PAGENAME}}]]}}}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 10:15, 28 January 2021

Template documentation[view] [edit] [history] [purge]

Usage

Basics

  • To include a shortcut, pass a parameter: {{Historical|WP:SHORT}}.
  • To provide a last-updated date, use the named parameter "last" or "date", i.e. {{Historical|last=1 January 2000}}. This should only be used for substantive updates, not things like bot tweaks or typo fixes.
  • To provide a briefer form of the text, use {{Historical|brief=yes}}
  • For a former policy, use {{Historical|type=policy}}
  • For a former guideline, use {{Historical|type=guideline}}
  • For a page closed down by explicit community consensus, use {{Historical|type=woundup}}
  • To provide an explanatory comment, use {{Historical|comment=explanatory text here}}. Aliases for |comment= are |reason= and |result=.
    • If you want to point to a successor page, use {{Superseded}} instead of {{Historical}}.
  • Pages using this template will be placed into Category:Inactive project pages unless the parameter |category=no is given: {{Historical|category=no}} (user and user talk pages are not categorized).
  • For related Wikipedia header templates, see Template messages/Wikipedia namespace.
  • Please note that this template is not appropriate for 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 or task forces, which are dealt with according to the WikiProject Council/Guide; these should be tagged with {{WikiProject status|Defunct}} or {{WikiProject status|Inactive}}.

Adding shortcuts

  • In addition, a shortcut can be added to this template by using the following syntax:
{{Historical|SHORTCUT}}
  • Up to 5 shortcuts can be added to this template in this fashion:
{{Historical|SHORTCUT1|SHORTCUT2|SHORTCUT3|SHORTCUT4|SHORTCUT5}}

TemplateData

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Shortcut 11

no description

Pageoptional
Shortcut 22

no description

Pageoptional
Shortcut 33

no description

Pageoptional
Shortcut 44

no description

Pageoptional
Shortcut 55

no description

Pageoptional
Lastlast

The date of the last substantative update to this page.

Datesuggested
Datedate

Formerly an alias for last.

Datedeprecated
Typetype

The type of page this is, eg. policy, guideline, script, etc.

Example
policy
Linesuggested
Briefbrief

Whether to use a shortened message.

Default
no
Booleanoptional
Commentcomment

A message explaining why the page is obsolete

Stringsuggested
Categorycategory

Whether to include this in [[Category:Inactive project pages]]

Default
yes
Example
category=no
Booleanoptional

See also