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

From blackwiki
Jump to navigation Jump to search
blackwiki>MC10
(increase archive number)
m (11 revisions imported)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{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 -->
  
Line 17: Line 18:
 
{{archive-nav|{{subst:archive number}}}}
 
{{archive-nav|{{subst:archive number}}}}
 
</pre>
 
</pre>
 
Currently the template supports "Archive 0" through "Archive 300".
 
  
 
=== See also ===
 
=== See also ===
 
*{{tl|Archive-nav}}
 
*{{tl|Archive-nav}}
 +
*{{tl|Number of archives}}
 +
{{warchivenav}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Archival templates]]
 
[[Category:Archival templates]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 12:47, 23 October 2020

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