Template:Annual archive: Difference between revisions
Appearance
Content deleted Content added
add option for prefix |
fix prefix parameter – add default value "Archive " with a space by default, as per Template:Annual archive/doc#Requirement |
||
Line 4: | Line 4: | ||
|type=notice |
|type=notice |
||
|image={{{image|[[File:Replacement filing cabinet.svg|40px|alt=|link=]]}}} |
|image={{{image|[[File:Replacement filing cabinet.svg|40px|alt=|link=]]}}} |
||
|text=<div style="text-align:center">{{{text|'''Do not edit this page.''' This is the [[Help:Archiving_a_talk_page|archive]] of [[{{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}]] for the year {{{year|{{#if:{{Title year|page={{SUBPAGENAME}}}}|{{Title year|page={{SUBPAGENAME}}}}|{{error|Could not find year number in "{{SUBPAGENAME}}"}}}}}}}. (Please direct any additional comments to the [[{{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}|current talk page]].)<br/>See the annual archives for {{{list|{{yearly archive list|prefix={{{prefix|}}}|root={{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}}}.}}}}}}</div> |
|text=<div style="text-align:center">{{{text|'''Do not edit this page.''' This is the [[Help:Archiving_a_talk_page|archive]] of [[{{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}]] for the year {{{year|{{#if:{{Title year|page={{SUBPAGENAME}}}}|{{Title year|page={{SUBPAGENAME}}}}|{{error|Could not find year number in "{{SUBPAGENAME}}"}}}}}}}. (Please direct any additional comments to the [[{{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}|current talk page]].)<br/>See the annual archives for {{{list|{{yearly archive list|prefix={{{prefix|Archive }}}|root={{{root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}}}.}}}}}}</div> |
||
}}</includeonly><noinclude>{{documentation}}</noinclude> |
}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:14, 4 May 2024
This template creates a message header box for an annual archive page with links to the subject page and all of its annual archive pages. This template may also be used as the footer.
Use
Placing {{annual archive}}
at the top of an annual archive page creates a message box like the one shown below:
Requirement
The annual archive pages must be subpages of the subject page named {{FULLPAGENAME}}/Archive YEAR
, where YEAR
is the four-digit year number.
See also
- You should place
{{archived annually}}
at the top of the subject page. - This template invokes Template:Str right, Template:Tmbox, and Template:Yearly archive list.
- For help with this template, please post a comment on the template talk page with a
{{reply to}}
one or more of the previous editors.