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

Template:Archive

From Wikitech-static
Revision as of 03:21, 11 November 2020 by imported>Krinkle (Implement note parameter. Add docs for note and reason parameters)
Jump to navigation Jump to search

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.)" }, "reason": { "label": "Reason", "description": "Optional reason why it is archived (default: Historical)", "type": "string" }, "note": { "label": "Note", "description": "Extra content to display on the second line", "type": "content" } }, "paramOrder": [ "reason", "note", "date" ], "format": "inline" } </templatedata>

See also