टेम्पलेट:Archive navigation: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
Switching to use {{documentation}} per talk page request
लाइन 4:
<div style="display: inline;">| [[../{{{next|Archive {{ #expr: {{{1}}} + 1 }}}}}|Archive {{ #expr: {{{1}}} + 1 }}]] &rarr;</div>
</div></includeonly>
<noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>
<noinclude>
{{pp-template|small=yes}}
{{esoteric}}
==Example display==
<div style="text-align: center;">
<div style="display: inline;">&larr; [[Template talk:Archive-nav|Archive 1]] |</div>
<div style="display: inline;">'''Archive 2'''</div>
<div style="display: inline;">| [[Template talk:Archive-nav|Archive 3]] &rarr;</div>
</div>
 
==Usage==
<tt><nowiki>{{archive-nav|N}}</nowiki></tt> where N is archive number. Archive subpages must be named as "Archive 1", "Archive 2", "Archive 3", etc. for this to work. Otherwise use <tt><nowiki>{{archive-nav|N|prev=Prev|next=Next}}</nowiki></tt>, where Prev and Next are the names of the preceding and following archive subpages (e.g. <tt><nowiki>{{archive-nav|3|prev=Archive2|next=archive 4}}</nowiki></tt>).
 
Optionally, you can use {{tl|archive number}} to provide N for you.
 
[[Category:Archival templates|{{PAGENAME}}]]
[[Category:Talk header templates|{{PAGENAME}}]]
 
==See also==
*{{tl|Archive number}} for a way to automatically insert the archive number.
*{{tl|archive nav}}
* {{tl|atn}} for a more elaborate way of handling it
*{{tl|Talkarchivenav}}
 
[[cs:Šablona:Archiv]]
[[vi:Tiêu bản:Lưu trữ-nav]]
</noinclude>