Template talk:Archive box/Archive 1: Difference between revisions
Jump to navigation
Jump to search
imported>Chris day No edit summary |
imported>Chris day No edit summary |
||
Line 1: | Line 1: | ||
If all the archives of a talk page are numbered (<tt>/Archive 1</tt>, <tt>/Archive 2</tt> etc.), you can use the <tt>auto</tt> parameter to display links to them all automatically. Choosing the yes option will list the archives with numbers only: | If all the archives of a talk page are numbered (<tt>/Archive 1</tt>, <tt>/Archive 2</tt> etc.), you can use the <tt>auto</tt> parameter to display links to them all automatically. Choosing the '''''yes''''' option will list the archives with numbers only: | ||
Alternatively, if you want longer and more visible links, try:setting the <tt>auto</tt> parameter to '''''long''''' since this will give a prose version; all other parameter values will trigger the numerical '''yes''' format above. | |||
{| class="wikitable" | {| class="wikitable" | ||
! Wikitext !! | ! Wikitext !! Numerical version !! Prose version | ||
|- | |- | ||
|<pre>{{archive box|auto=yes| | |'''Left archive box'''<br><pre>{{archive box|auto=yes| | ||
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | [[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | ||
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre> | [[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre> | ||
|{{archive box|auto=yes| | |style="background-color:white" rowspan=2|{{archive box|auto=yes| | ||
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | |||
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}} | |||
|style="background-color:white" rowspan=2|{{archive box|auto=long| | |||
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | [[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | ||
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}} | [[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}} | ||
|- | |- | ||
|<pre>{{archive box|auto=long| | |'''Right archive box'''<br> | ||
<pre>{{archive box|auto=long| | |||
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | [[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and | ||
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre> | [[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre> | ||
|} | |} |
Revision as of 03:00, 23 February 2007
If all the archives of a talk page are numbered (/Archive 1, /Archive 2 etc.), you can use the auto parameter to display links to them all automatically. Choosing the yes option will list the archives with numbers only:
Alternatively, if you want longer and more visible links, try:setting the auto parameter to long since this will give a prose version; all other parameter values will trigger the numerical yes format above.
Wikitext | Numerical version | Prose version |
---|---|---|
Left archive box{{archive box|auto=yes| [[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and [[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}} |
||
Right archive box{{archive box|auto=long| [[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and [[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}} |