Difference between revisions of "Template:Archive number"
Jump to navigation
Jump to search
blackwiki>MC10 (increase archive number) |
blackwiki>MC10 (add info) |
||
| Line 301: | Line 301: | ||
|Archive 299 = 299 | |Archive 299 = 299 | ||
|Archive 300 = 300 | |Archive 300 = 300 | ||
| − | |default | + | |default = <span style="color:red; font-size:bigger;">Error: Invalid page name(s)</span> |
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||
Revision as of 02:11, 24 March 2009
| 30px | This template uses Lua: |
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
- {{Archive-nav}}
- {{Number of archives}}
| The above documentation is transcluded from Template:Archive number/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |