Difference between revisions of "Template:Archive number"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(convert this to use Module:Archive number)
blackwiki>Mr. Stradivarius
(make this substable)
Line 1: Line 1:
{{#invoke:archive number|main}}<noinclude>
+
{{<includeonly>safesubst:</includeonly>#invoke:archive number|main}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 04:23, 5 October 2014

Script error: No such module "archive number".

Template documentation[view] [edit] [history] [purge]

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