Template:Archive list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(experiment - preload the current page when creating a new archive)
imported>Caesar Schinas
mNo edit summary
Line 108: Line 108:
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}|''none'' (<small class="plainlinks plainlinksneverexpand">to start [{{fullurl:{{TALKSPACE}}:{{BASEPAGENAME}}/Archive 1|preload={{TALKSPACE}}:{{BASEPAGENAME}}}} Archive 1]</small>)}}<!-- one row for each 10 items --></includeonly><noinclude>
-->}}}}}}}}}}}}}}}}}}|''none'' (<small class="plainlinks plainlinksneverexpand">to start [{{fullurl:{{TALKSPACE}}:{{BASEPAGENAME}}/Archive 1|action=edit&preload={{urlencode:{{TALKSPACE}}:{{BASEPAGENAME}}}}}} Archive 1]</small>)}}<!-- one row for each 10 items --></includeonly><noinclude>
This template can be applied to any talk page or discussion archive, and will return links to all the numbered archives of that page or its parent page. In order for the template to work, the archives must follow the naming convention specified at [[CZ page to be decided]], <tt>Talk:PAGENAME/Archive 1</tt>, with a capital A, a space before the number, and no leading zeros. This template should not be substituted – that way, the list of links will update itself whenever a new numbered archive is added. This template can be used with {{[[Template:archive box|archive box]]}} to produce a box of numbered archive links without entering them all manually. To do this, use <tt><nowiki>{{archive&nbsp;box|auto=yes}}</nowiki></tt>.
This template can be applied to any talk page or discussion archive, and will return links to all the numbered archives of that page or its parent page. In order for the template to work, the archives must follow the naming convention specified at [[CZ page to be decided]], <tt>Talk:PAGENAME/Archive 1</tt>, with a capital A, a space before the number, and no leading zeros. This template should not be substituted – that way, the list of links will update itself whenever a new numbered archive is added. This template can be used with {{[[Template:archive box|archive box]]}} to produce a box of numbered archive links without entering them all manually. To do this, use <tt><nowiki>{{archive&nbsp;box|auto=yes}}</nowiki></tt>.


</noinclude>
</noinclude>

Revision as of 10:25, 13 May 2009

This template can be applied to any talk page or discussion archive, and will return links to all the numbered archives of that page or its parent page. In order for the template to work, the archives must follow the naming convention specified at CZ page to be decided, Talk:PAGENAME/Archive 1, with a capital A, a space before the number, and no leading zeros. This template should not be substituted – that way, the list of links will update itself whenever a new numbered archive is added. This template can be used with {{archive box}} to produce a box of numbered archive links without entering them all manually. To do this, use {{archive box|auto=yes}}.