You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Template:Archive"

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
imported>Krinkle
Line 1: Line 1:
{{Warn
{{Warn
|content='''This page contains historical information'''. It is probably no longer true.{{#if:{{{date|}}}
|content='''This page contains historical information'''. It is probably no longer true.{{#if:{{{date|}}}
|<i style="display: inline-block; vertical-align: middle; padding: 1em 0; font-size: 2em;">&nbsp;</i><span style="display: inline-block; float: right; margin: /*negate mbox-text padding */-0.125em -0.45em; padding: 1em 2em; font-weight: bold; font-size: 2em; text-align: center; line-height: 2; letter-spacing: -1px; background-color: #111; background-image: linear-gradient(to right, /*rainbow*/ rgba(255, 0, 0, 0.3), rgba(255, 255, 0, 0.3), rgba(0, 255, 0, 0.3), rgba(0, 255, 255, 0.3), rgba(0, 0, 255, 0.3), rgba(255, 0, 255, 0.3), rgba(255, 0, 0, 0.3)); color: #fff; text-shadow: 0 0 20px deepskyblue, 0 0 20px deepskyblue, 0 0 20px deepskyblue, 0 0 30px deepskyblue, 0 0 45px deepskyblue, 0 0 50px deepskyblue, 0 0 55px deepskyblue, 0 0 60px deepskyblue, 0 0 70px deepskyblue;">{{{date}}}</span>
|<i style="display: inline-block; vertical-align: middle; padding: .5em 0; font-size: 2em;">&nbsp;</i><span style="display: inline-block; float: right; margin: /*negate mbox-text padding */-0.125em -0.45em; padding: .5em 2em; font-weight: bold; font-size: 2em; text-align: center; line-height: 2; letter-spacing: -1px; background-color: #111; background-image: linear-gradient(to right, /*rainbow*/ rgba(255, 0, 0, 0.3), rgba(255, 255, 0, 0.3), rgba(0, 255, 0, 0.3), rgba(0, 255, 255, 0.3), rgba(0, 0, 255, 0.3), rgba(255, 0, 255, 0.3), rgba(255, 0, 0, 0.3)); color: #fff; text-shadow: 0 0 20px deepskyblue, 0 0 20px deepskyblue, 0 0 20px deepskyblue, 0 0 30px deepskyblue, 0 0 45px deepskyblue, 0 0 50px deepskyblue, 0 0 55px deepskyblue, 0 0 60px deepskyblue, 0 0 70px deepskyblue;">{{{date}}}</span>
}}
}}
|image=Vista-file-manager.png
|image=Vista-file-manager.png
Line 10: Line 10:
{{tcall}}
{{tcall}}


;date: Optional parameter with a rough date for time context (e.g. July 2012, 2010, 1980s, etc.)
<pre>{{Archive|date=1950s}}</pre>
<pre>{{Archive|date=1980s}}</pre>
{{Archive|date=1950s}}
{{Archive|date=1980s}}
== Parameters ==
<templatedata>
{
"params": {
"date": {
"label": "Date",
"type": "string",
"description": "Optional parameter with a rough date indication for the reader's context (e.g. July 2012, 2010, 1980s, etc.)"
}
}
}
</templatedata>


== See also ==
== See also ==

Revision as of 02:58, 6 June 2018

Usage

This template categorizes the host page in Category:Archive.
{{Archive}}
{{Archive|date=1950s}}

Parameters

<templatedata> { "params": { "date": { "label": "Date", "type": "string", "description": "Optional parameter with a rough date indication for the reader's context (e.g. July 2012, 2010, 1980s, etc.)" } } } </templatedata>

See also