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

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(add {{lua}} and remove the sentence on limitations, as they no longer apply)
blackwiki>Pppery
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{lua|Module:Archive number}}
+
{{lua|Module:String}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  

Revision as of 15:12, 9 July 2018

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