Difference between revisions of "Template:Archive number/sandbox"
Jump to navigation
Jump to search
blackwiki>Pppery (Test string module version) |
blackwiki>Pppery |
||
| Line 1: | Line 1: | ||
| − | + | {{{{{|safesubst:}}}#invoke:String|match|{{{{{|safesubst:}}}SUBPAGENAME}}|^Archive ([1-9][0-9]*)$}}<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 15:07, 9 July 2018
String Module Error: Match not found
| This is the template sandbox page for Template:Archive number (diff). |
| 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. |