Template:Archive list alpha/doc: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, INTERWIKIS TO WIKIDATA; THANKS! --> {{lua|Module:Archive list alpha}} ==Usage== This template can be applied to any talk page or discussion archive, and will return links to all the lettered archives of that page or its parent page. In order for the template to work, the archives must follow the format <kbd>Talk:PAGENAME/Archive A</kbd>, with a capital A, a space before the number, continuin...")
 
No edit summary
 
Line 9: Line 9:
* <kbd>links=''#''</kbd> where the number is how many links per line. The default is 10 links per line
* <kbd>links=''#''</kbd> where the number is how many links per line. The default is 10 links per line
* <kbd>nobr=''yes''</kbd> set to ''yes'' to remove all line breaks. This parameter cannot be used in conjunction with links=.
* <kbd>nobr=''yes''</kbd> set to ''yes'' to remove all line breaks. This parameter cannot be used in conjunction with links=.
<includeonly>{{Sandbox other||<!--
PLEASE ADD CATEGORIES BELOW THIS LINE, INTERWIKIS TO WIKIDATA, THANK YOU! -->
[[Category:Archival templates|List alpha]]
}}</includeonly>

Latest revision as of 15:24, 15 May 2024

Usage[edit source]

This template can be applied to any talk page or discussion archive, and will return links to all the lettered archives of that page or its parent page. In order for the template to work, the archives must follow the format Talk:PAGENAME/Archive A, with a capital A, a space before the number, continuing (.../Archive X, .../Archive Y, .../Archive Z, .../Archive AA). This template should not be substituted – that way, the list of links will update itself whenever a new lettered archive is added.

Valid parameters for {{archive list}} are:

  • root=<root> to specify a root other than that of the current page from which the template is transcluded
  • links=# where the number is how many links per line. The default is 10 links per line
  • nobr=yes set to yes to remove all line breaks. This parameter cannot be used in conjunction with links=.