Difference between revisions of "Template:Mbox historical"

From Starfleet Commander
Jump to navigationJump to search
m (Created page with "<onlyinclude> {| class="plainlinks" align="center" style="clear: both; border: 1px solid #AAA; background-color: #f7f7f7; width: 80%; border-collapse: collapse; padding: 0; margi...")
 
m
Line 3: Line 3:
 
|-
 
|-
 
| style="padding: 5px 0 5px 0.5em" | [[File:Mbox icon historical.png|50px]]
 
| style="padding: 5px 0 5px 0.5em" | [[File:Mbox icon historical.png|50px]]
| style="padding: 0.25em 0.5em; width: 100%;" | '''This {{{part|page}}} is currently inactive and is retained for historical reference.'''<br />{{{text|Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via the [[{{TALKPAGENAME}}|talk]] page.}}}&nbsp;<small>This {{{type|page}}} was [{{fullurl:{{FULLPAGENAME}}|diff=cur}} last edited] by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]]|[[Special:Contributions/{{REVISIONUSER}}|contribs]]) {{#formatdate:{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}|ISO 8601}}. ''([{{fullurl:{{FULLPAGENAMEE}}|action=purge}} Purge])''</small>
+
| style="padding: 0.25em 0.5em; width: 100%;" | '''{{{title|This {{{part|page}}} is currently inactive and is retained for historical reference.}}}'''<br />{{{text|Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via the [[{{TALKPAGENAME}}|talk]] page.}}}&nbsp;<small>This {{{type|page}}} was [{{fullurl:{{FULLPAGENAME}}|diff=cur}} last edited] by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]]|[[Special:Contributions/{{REVISIONUSER}}|contribs]]) {{#formatdate:{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}|ISO 8601}}. ''([{{fullurl:{{FULLPAGENAMEE}}|action=purge}} Purge])''</small>
 
|}
 
|}
 
<includeonly>[[Category:Historical Content|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:Historical Content|{{PAGENAME}}]]</includeonly>
Line 12: Line 12:
 
Add the template to top of the section that is up for changes. If it is valid for the entire page, place it as the first line of the page.
 
Add the template to top of the section that is up for changes. If it is valid for the entire page, place it as the first line of the page.
  
  <nowiki>{{</nowiki>Mbox historical|''part''|''text''<nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki>Mbox historical|''part''|''title''|''text''<nowiki>}}</nowiki>
  
 
===Parameters===
 
===Parameters===
Line 18: Line 18:
 
:(optional) The type of the part that is subject to changes. ''Examples<nowiki>:</nowiki> article, page, section, sub-section, image.''
 
:(optional) The type of the part that is subject to changes. ''Examples<nowiki>:</nowiki> article, page, section, sub-section, image.''
 
:Default value is '''''page'''''.
 
:Default value is '''''page'''''.
;<tt>text</tt>
+
;<tt>title</tt>
:(optional) The type of the part that is subject to changes. ''Examples<nowiki>:</nowiki> article, page, section, sub-section, image.''
+
:(optional) The title of the messagebox
 
:Default value is '''''This {{{part|page}}} is currently inactive and is retained for historical reference.'''''
 
:Default value is '''''This {{{part|page}}} is currently inactive and is retained for historical reference.'''''
 
;<tt>text</tt>
 
;<tt>text</tt>

Revision as of 03:34, 16 March 2013

Template Documentation Icon.png Template documentation

This template is for marking contents in the wiki as historical, it will insert the box shown above where it is used. It also include the Category:Historical Content to the page.

How to use this template

Add the template to top of the section that is up for changes. If it is valid for the entire page, place it as the first line of the page.

{{Mbox historical|part|title|text}}

Parameters

part
(optional) The type of the part that is subject to changes. Examples: article, page, section, sub-section, image.
Default value is page.
title
(optional) The title of the messagebox
Default value is This page is currently inactive and is retained for historical reference.
text
(optional) Text to give more information about the reason for keeping the content.
Default value is Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via the talk page.