Difference between revisions of "Template:Annual archive/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Buaidh
m (13 revisions imported)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
−
This template creates a message header 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 a footer.
+
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==
 
==Use==
−
Placing '''<code><nowiki>{{yearly archive}}</nowiki></code>''' at the top of an annual archive page creates a box like the one shown below:
+
Placing '''<code><nowiki>{{annual archive}}</nowiki></code>''' at the top of an annual archive page creates a message box like the one shown below:
−
{{yearly archive|root=User talk:Buaidh|year={{LASTYEAR}}}}
+
{{Annual archive|root=User talk:Buaidh|year={{LASTYEAR}}}}
  
 
===Requirement===
 
===Requirement===
Line 10: Line 10:
  
 
==See also==
 
==See also==
−
*You should place '''<code><nowiki>{{</nowiki>[[Template:archived yearly|archived yearly]]<nowiki>}}</nowiki></code>''' on the subject page.
+
*You should place '''<code><nowiki>{{</nowiki>[[Template:archived annually|archived annually]]<nowiki>}}</nowiki></code>''' at the top of the subject page.
−
*See [[Template:Archived talk]] for a more flexible archive page header.
 
 
*This template invokes [[Template:Str right]], [[Template:Tmbox]], and [[Template:Yearly archive list]].
 
*This template invokes [[Template:Str right]], [[Template:Tmbox]], and [[Template:Yearly archive list]].
 
{{warchivenav}}
 
{{warchivenav}}
−
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Archival templates]]
 
[[Category:Archival templates]]
−
</includeonly>
+
}}</includeonly>

Latest revision as of 12:59, 22 October 2020

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

Template:Warchivenav