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

From blackwiki
Jump to navigation Jump to search
blackwiki>Daedalus969
(→‎See also: linking to a related page)
blackwiki>Luna Santin
(→‎Usage: info)
Line 9: Line 9:
 
{{archive number}}
 
{{archive number}}
 
{{subst:archive number}}
 
{{subst:archive number}}
 +
</pre>
 +
 +
Used with {{tl|Archive-nav}} or a similar template:
 +
 +
<pre>
 +
{{archive-nav|{{archive number}}}}
 +
{{archive-nav|{{subst:archive number}}}}
 
</pre>
 
</pre>
  

Revision as of 10:28, 11 June 2008

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}}}}

Currently the template supports "Archive 0" through "Archive 50"

See also