Template:Numbered archive list: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
m →‎top: cleanup using AWB, replaced: <br/> → <br /> (2)
No edit summary
Tag: 2017 source edit
 
Line 43: Line 43:
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}}}<!--
-->}}}}}}}}}}}}}}}}}}}}}}<!-- one row for each 10 items --></includeonly><noinclude>
-->}}}}}}}}}}}}}}}}}}}}}}<!-- one row for each 10 items --></includeonly><noinclude>
{{documentation}}
This template can be applied to any talk page or discussion archive, and will output 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 [[:w:en:Help:Archiving a talk page]], <samp>Talk:PAGENAME/Archive 1</samp>, with a capital A, a space before the number, and no leading zeros.
</noinclude>

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 <code>{{tlx|archive box|2=auto=yes}}</code>. This template should not be substituted – that way, the list of links will update itself whenever a new numbered archive is added. This template is based on a template created by [[User:Luna Santin|Luna Santin]].
----
<templatedata>
{ "description": "Wikilink [[/Archive 1]] up to [[/Archive 20]] subpages",
"params":
{ "base":
{ "type": "wiki-page-name",
"description": "Base page if different from default",
"default": "{{TALKSPACE}}:{{PAGENAME}}"
} } }</templatedata>
[[Category:Archive templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:46, 26 March 2024

Template documentation



Wikilink [[/Archive 1]] up to [[/Archive 20]] subpages

Template parameters

ParameterDescriptionTypeStatus
basebase

Base page if different from default

Default
{{TALKSPACE}}:{{PAGENAME}}
Page nameoptional