Difference between revisions of "Template:Talk archive nav"

From Geohashing
imported>Tjtrumpet2323
m
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div style='margin:2px 10% 2px; border: 1px solid #aaa; background: #f9f9f9; text-align: center;'>
+
<includeonly><div style='margin:2px 10% 2px; border: 1px solid #aaa; background: #f9f9f9;>
<big>'''Discussion Archives'''</big>
+
<center><big>'''[[{{TALKSPACE}}:{{ROOTPAGENAME}}]] Archives'''</big></center>
  
{{ #ifexpr: {{{thispage}}} > 2 | [[Talk:Main Page/Archive {{ #expr: {{{thispage}}} - 2 }}|{{ #expr: {{{thispage}}} - 2 }}]] | - }} | {{ #ifexpr: {{{thispage}}} > 1 | [[Talk:Main Page/Archive {{ #expr: {{{thispage}}} - 1 }}|{{ #expr: {{{thispage}}} - 1 }}]] | - }} | '''{{{thispage}}}''' | [[Talk:Main Page/Archive {{ #expr: {{{thispage}}} + 1 }}|{{ #expr: {{{thispage}}} + 1 }}]] | [[Talk:Main Page/Archive {{ #expr: {{{thispage}}} + 2 }}|{{ #expr: {{{thispage}}} + 2 }}]]
+
{{special:prefixindex/{{TALKSPACE}}:{{ROOTPAGENAME}}/|stripprefix=1}}
  
<small>'''See also:''' [[Talk:Main Page|Current Discussion]]</small>
+
<center><small>'''See also:''' [[{{TALKSPACE}}:{{ROOTPAGENAME}}|Current Discussion]]</small></center></div>
</div>
+
 
* '''To keep [[Talk:Main Page]] from getting cluttered, topics that have clearly been handled or resolved are archived here.'''
+
__TOC__</includeonly><noinclude>
* When this page reaches ~50 kilobytes in length, please start up [[Talk:Main Page/Archive {{ #expr: {{{thispage}}} + 1 }}]] with the following content:
 
<nowiki>{{discussion archive nav|thispage=</nowiki>{{ #expr: {{{thispage}}} + 1 }}<nowiki>}}</nowiki> </includeonly><noinclude>
 
 
== Usage ==
 
== Usage ==
  <nowiki>{{discussion archive nav|thispage=1}}</nowiki>
+
  <nowiki>{{talk archive nav}}</nowiki>
* For use on [[Talk:Main Page]] Archive pages, such as [[Talk:Main Page/Archive 1]].
+
* For use on Talk Archive pages, such as [[Talk:Main Page/Archive 1]] or [[Talk:Implementations/Archive 1]].
* Links and link names automatically generated from <code>thispage</code> parameter.
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:54, 4 March 2020

Usage

{{talk archive nav}}