Template talk:Archive box: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris day
No edit summary
imported>Chris Day
No edit summary
 
(11 intermediate revisions by 3 users not shown)
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:
{{archive box|auto=long}}
The archive box template should also be placed on the archive pages to ensure it is easy to navigate between the different archives, current talk page and main article. The archive box to the right can be used to toggle between the four different archives and the [[Template talk:Archive box]] page.


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.
== Approved templates ==


{| class="wikitable"
Great job on these boxes! I did notice that I could not use the auto=yes or auto=long templates on approved articles because the talk is now in the /Draft/Archive_1 space rather than just /Archive_1 space.  I ended up using the hand version, but thought you would probably want to know that. --[[User:D. Matt Innis|Matt Innis]] [[User talk:D. Matt Innis|(Talk)]] 10:05, 25 March 2007 (CDT)
! Wikitext !! Numerical version !! Prose version
:You can use it for approved or regular aticles, but you need to use "approved=yes" in the template in addition to the "auto=yes or long" for an approved article. See [[Template:Archive_box#Approved_article_archives|here for examples]]. [[User:Chris day|Chris Day]] [[User talk:Chris day|(Talk)]] 11:50, 25 March 2007 (CDT)
|-
::Ah, I just realised your problem. I assume you have put some archives in the /Draft space?  For he template to work correctly they should still be under the  "talk:article_name/Archive_#" space. This makes sense otherwise archives will be split between two different name hierarchies and this is a bad thing. I will make that clearer in the instructions here. [[User:Chris day|Chris Day]] [[User talk:Chris day|(Talk)]] 11:56, 25 March 2007 (CDT)
|'''Left archive box'''<br><pre>{{archive box|auto=yes|
:::Yep, that is what I have done. Do you want me to rename the page or will you fix another way? --[[User:D. Matt Innis|Matt Innis]] [[User talk:D. Matt Innis|(Talk)]] 14:21, 25 March 2007 (CDT)
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and
::::I could write it into the code, what do you think? My gut feeling is we should stick with one standard for the archives on all articles. In the long term it will lead to less confusion since their location will be predictable for all articles. [[User:Chris day|Chris Day]] [[User talk:Chris day|(Talk)]] 14:43, 25 March 2007 (CDT)
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre>
|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:whiterowspan=2|{{archive box|auto=long|
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}
|-
|'''Right archive box'''<br>
<pre>{{archive box|auto=long|
[[{{BASEPAGENAME}}/Archive 3|December 2005 - January 2006]] and
[[{{BASEPAGENAME}}/Deletion discussion|Deletion discussion]]}}</pre>
|}


The list will update itself when new archives are added. If there are also named archives, you can add links to these as well. See the additional links shown in the archive boxs above.
== "talk" page archive ==
 
Look at the archives logo at [[CZ:Approval_Announcements]]. It's not a talk page, so should we have a new archive template/logo for mainspace archive? ([[User:Chunbum Park|Chunbum Park]] 15:09, 10 March 2009 (UTC))
 
:Good point, I just changed the picture. [[User:Chris Day|Chris Day]] 19:01, 10 March 2009 (UTC)

Latest revision as of 13:01, 10 March 2009

The archive box template should also be placed on the archive pages to ensure it is easy to navigate between the different archives, current talk page and main article. The archive box to the right can be used to toggle between the four different archives and the Template talk:Archive box page.

Approved templates

Great job on these boxes! I did notice that I could not use the auto=yes or auto=long templates on approved articles because the talk is now in the /Draft/Archive_1 space rather than just /Archive_1 space. I ended up using the hand version, but thought you would probably want to know that. --Matt Innis (Talk) 10:05, 25 March 2007 (CDT)

You can use it for approved or regular aticles, but you need to use "approved=yes" in the template in addition to the "auto=yes or long" for an approved article. See here for examples. Chris Day (Talk) 11:50, 25 March 2007 (CDT)
Ah, I just realised your problem. I assume you have put some archives in the /Draft space? For he template to work correctly they should still be under the "talk:article_name/Archive_#" space. This makes sense otherwise archives will be split between two different name hierarchies and this is a bad thing. I will make that clearer in the instructions here. Chris Day (Talk) 11:56, 25 March 2007 (CDT)
Yep, that is what I have done. Do you want me to rename the page or will you fix another way? --Matt Innis (Talk) 14:21, 25 March 2007 (CDT)
I could write it into the code, what do you think? My gut feeling is we should stick with one standard for the archives on all articles. In the long term it will lead to less confusion since their location will be predictable for all articles. Chris Day (Talk) 14:43, 25 March 2007 (CDT)

"talk" page archive

Look at the archives logo at CZ:Approval_Announcements. It's not a talk page, so should we have a new archive template/logo for mainspace archive? (Chunbum Park 15:09, 10 March 2009 (UTC))

Good point, I just changed the picture. Chris Day 19:01, 10 March 2009 (UTC)