Difference between revisions of "Template:Historical/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(sync from live, div→span, close unclosed tags)
imported>The Earwig
(sync)
Line 1: Line 1:
 
{{mbox
 
{{mbox
 
| type      = notice
 
| type      = notice
| image      = [[File:Historical.svg|30px|alt=|link=]]
+
| image      = [[File:Historical.svg|30px|alt=|link= WP:HISPAGES]]
 
| imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }}
 
| imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }}
 
| text      = {{#switch:{{NAMESPACE}}
 
| text      = {{#switch:{{NAMESPACE}}
  |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|}}}|It was last updated {{{last}}}.}}<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>
+
  |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}}}
 
  |#default={{#switch:{{{type}}}
 
   |policy='''This former [[Wikipedia:Policies and guidelines|Wikipedia policy]], no longer backed by community consensus, is retained for historical reference.'''
 
   |policy='''This former [[Wikipedia:Policies and guidelines|Wikipedia policy]], no longer backed by community consensus, is retained for historical reference.'''
 
   |guideline='''This former [[Wikipedia:Policies and guidelines|Wikipedia guideline]], no longer backed by community consensus, is retained for historical reference.'''
 
   |guideline='''This former [[Wikipedia:Policies and guidelines|Wikipedia guideline]], no longer backed by community consensus, is retained for historical reference.'''
  |section='''This section 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>}}
+
   |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>
   |woundup='''This page has been closed down by [[Wikipedia:Consensus|community consensus]], and is retained only for [[Wikipedia:Policies and guidelines#historical|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>
   |#default='''This page is currently inactive and is retained for [[Wikipedia:Policies and guidelines#historical|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>
 
 
  }}
 
  }}
}} <span style="font-size: 90%">{{{comment|}}} {{#if: {{{last|}}}|It was last updated {{{last}}}.}}}}</span>
+
}}
 +
}} <span style="font-size: 90%">{{{comment|}}} {{#if: {{{last|}}}{{{date|}}}|It was last 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! -->
 
}}<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>

Revision as of 04:26, 28 December 2020

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