Šablona:Archive box/doc

Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
No archives

This template should be used to link to archived versions of talk pages.

Usage[editovat zdroj]

{{archive box
|<links to archives>
  • {{{align}}} can be used to change what side of the page the box is on, the default is align right. Note that {{{align=left}}} will make text wrap around it, if you want the template on the left with no wrapping, use {{{align=none}}}.
  • {{{css}}} can be used to add any custom styling to the box.
  • {{{title}}} change the title (default: "Archives")
  • {{{searchprefix}}} changes the prefix used for searching (default: {{FULLPAGENAME}}/Archive)
  • {{{nosearch}}} can be set to remove the search box

Example[editovat zdroj]

{{archive box|align=left|css=border: 2px solid purple; background: lightgrey
| title = 2011 Archives |
* [[/Archive 1|January 2011 - August 2011]]
* [[/Archive 2|September 2011 - December 2011]]
| 2012 Archives |
* [[/Archive 3|January 2012 - August 2012]]
* [[/Archive 4|September 2012 - December 2012]]
| Archives from the future! |
* [[/Archive 5|January 2013 - August 2013]]
* [[/Archive 6|September 2013 - December 2013]]