Difference between revisions of "Template:ArchiveNotice"
blackwiki>Superuser27 (Template creation for talk page archiviation notice) |
blackwiki>WOSlinker (tidy center tags) |
||
| Line 2: | Line 2: | ||
| image = [[file:{{{icon|Replacement filing cabinet.svg}}}|50x40px|alt=|link=]] | | image = [[file:{{{icon|Replacement filing cabinet.svg}}}|50x40px|alt=|link=]] | ||
| style = {{{style|}}} | | style = {{{style|}}} | ||
| − | | text = | + | | textstyle = text-align:center; |
| + | | text = Comments on this page get automatically '''[[Help:Archiving_a_talk_page|archived]]'''{{#if:{{{period|}}}| when older than '''{{{period}}}'''}}. {{#if:{{{archive|}}}|Please see [[{{FULLPAGENAME}}/{{{archive|Archive}}}|Archive]] for older contents.}} | ||
<!-- Template:ArchiveNotice --> | <!-- Template:ArchiveNotice --> | ||
}}<includeonly>{{{category|__NOEDITSECTION__}}}__NONEWSECTIONLINK__</includeonly><noinclude>{{documentation}}</noinclude> | }}<includeonly>{{{category|__NOEDITSECTION__}}}__NONEWSECTIONLINK__</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 13:45, 27 March 2019
| Comments on this page get automatically archived. |
| File:Ambox warning yellow.svg | This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
This is the {{auto archiving notice}} message box. It should be used on pages that are automatically archived.
Contents
Usage
When this box is placed on a subject page (not a talk page), it gets the light-grey "other pages" style. Like this:
- {{auto archiving notice|bot=lowercase sigmabot III}}
Template:Auto archiving notice
This box automatically adapts its styles depending on what kind of page it is placed on. Thus when it for instance is placed on a talk page it gets the peach talk page style. See next example.
The "small=yes" parameter works on talk pages and "other" pages. That is, it doesn't work on articles, file and category pages. But the parameter does no harm if used on such pages. So you can make the box small and right floating if you like. Like this:
- {{auto archiving notice|bot=lowercase sigmabot III|age=30|small=yes}}
Template:Auto archiving notice
Parameters
{{Auto archiving notice
| age = <!-- default=7 -->
| bot =
| botlink =
| dounreplied =
| index =
| page =
| small =
| target =
| units = <!-- default=days -->
}}
Examples
Here are some other parameter combinations:
- {{auto archiving notice|bot=lowercase sigmabot III|age=30}}
Template:Auto archiving notice
- {{auto archiving notice|bot=lowercase sigmabot III|age=2|units=weeks}}
Template:Auto archiving notice
- {{auto archiving notice|bot=lowercase sigmabot III|botlink=User:lowercase sigmabot III}}
Template:Auto archiving notice
- {{auto archiving notice|bot=lowercase sigmabot III|dounreplied=yes|page=This noticeboard}}
Template:Auto archiving notice
- {{auto archiving notice|bot=lowercase sigmabot III|dounreplied=no}}
Template:Auto archiving notice
- {{auto archiving notice|bot=lowercase sigmabot III|index=/Archive Index|target={{#rel2abs:./Archive}}}}
Template:Auto archiving notice
Aliases
See also
| The above documentation is transcluded from Template:ArchiveNotice/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |