Difference between revisions of "Template:Archive Header/Doc"
Jump to navigation
Jump to search
m (1 revision) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{TemProtect}}</includeonly> | <includeonly>{{TemProtect}}</includeonly> | ||
== Summary == | == Summary == | ||
− | This is a general header for display on [[ | + | This is a general header for display on [[ArcenWiki:Archive|archived]] subpages. It displays a message stating that the page is an archive, adds a link to the source page or pages, and places the page in any relevant categories. |
== Parameters == | == Parameters == | ||
{{Parameters | {{Parameters | ||
− | |source|optional|Page where archived content was originally located (including namespace). (Defaults to base page name, with exceptions created for | + | |source|optional|Page where archived content was originally located (including namespace). (Defaults to base page name, with exceptions created for ArcenWiki:Archive/CP and ArcenWiki:Archive/AN pages.) |
− | |source2|optional|Secondary page where archived content was originally located, for use on archives like [[ | + | |source2|optional|Secondary page where archived content was originally located, for use on archives like [[AI War talk:AI War]]. |
|date|optional|Date on which archived discussion started, in format: <tt>Year Month</tt>. | |date|optional|Date on which archived discussion started, in format: <tt>Year Month</tt>. | ||
|cat ''or'' 1<br>cat2 ''or'' 2<br>cat3 ''or'' 3<br>cat4 ''or'' 4|optional|Categories to use for archived page. If <code>cat</code> is set to "none" then no categories are created for this archive (not even the uncategorized categories).}} | |cat ''or'' 1<br>cat2 ''or'' 2<br>cat3 ''or'' 3<br>cat4 ''or'' 4|optional|Categories to use for archived page. If <code>cat</code> is set to "none" then no categories are created for this archive (not even the uncategorized categories).}} | ||
Line 12: | Line 12: | ||
== Examples == | == Examples == | ||
<pre>{{Archive Header|none}}</pre> | <pre>{{Archive Header|none}}</pre> | ||
− | Typical use on a page such as [[ | + | Typical use on a page such as [[ArcenWiki:Community Portal/Archive 1]]: came from the Community Portal, no categories needed |
<pre>{{Archive Header|Blocking Policy|Vandalism|date=2008 June}}</pre> | <pre>{{Archive Header|Blocking Policy|Vandalism|date=2008 June}}</pre> | ||
Archive from Community Portal; adds two subcategories and the date | Archive from Community Portal; adds two subcategories and the date | ||
− | <pre>{{Archive Header|Blocking Policy|Vandalism|date=2008 June|source= | + | <pre>{{Archive Header|Blocking Policy|Vandalism|date=2008 June|source=ArcenWiki:Administrator Noticeboard}}</pre> |
Archive from Administrator Noticeboard instead of Community Portal | Archive from Administrator Noticeboard instead of Community Portal | ||
<includeonly>[[Category:Markup Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Markup Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 21:50, 3 February 2015
Summary
This is a general header for display on archived subpages. It displays a message stating that the page is an archive, adds a link to the source page or pages, and places the page in any relevant categories.
Parameters
Archive Header | ||
---|---|---|
Parameter | Scope | Description
{{#splitargs:Parameters/Line|3}} |
Examples
{{Archive Header|none}}
Typical use on a page such as ArcenWiki:Community Portal/Archive 1: came from the Community Portal, no categories needed
{{Archive Header|Blocking Policy|Vandalism|date=2008 June}}
Archive from Community Portal; adds two subcategories and the date
{{Archive Header|Blocking Policy|Vandalism|date=2008 June|source=ArcenWiki:Administrator Noticeboard}}
Archive from Administrator Noticeboard instead of Community Portal