Difference between revisions of "Template:Archive number/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Kslotte
(→‎See also: Number of archives)
blackwiki>Mr. Stradivarius
(add {{lua}} and remove the sentence on limitations, as they no longer apply)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{lua|Module:Archive number}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
Line 17: Line 18:
 
{{archive-nav|{{subst:archive number}}}}
 
{{archive-nav|{{subst:archive number}}}}
 
</pre>
 
</pre>
 
Currently the template supports "Archive 0" through "Archive 300".
 
  
 
=== See also ===
 
=== See also ===

Revision as of 04:25, 5 October 2014

Usage

Some archive navigation templates, such as {{Archive-nav}}, require the user to paste in the current archive's number. For example, if the archive's page name is "Archive n" the user must provide n. This template can be substed or transcluded, and will provide that number automatically.

{{archive number}}
{{subst:archive number}}

Used with {{Archive-nav}} or a similar template:

{{archive-nav|{{archive number}}}}
{{archive-nav|{{subst:archive number}}}}

See also

Template:Warchivenav