Difference between revisions of "Template:Auto archiving notice"

From blackwiki
Jump to navigation Jump to search
imported>Richwales
(reverting good-faith addition of "skip to bottom" template inclusion; this needs to be discussed first and a broad consensus reached before making such a visible change to a widely used template)
imported>Rezonansowy
(Sync icon with Template:Archives + technicals)
Line 2: Line 2:
 
| demospace = {{{demospace|}}}  <!-- Used in the /doc, don't remove. -->
 
| demospace = {{{demospace|}}}  <!-- Used in the /doc, don't remove. -->
 
| type  = notice
 
| type  = notice
| image = [[Image:Crystal Clear app file-manager.png|50x40px|alt=Archives]]
+
| image = [[File:Replacement filing cabinet.svg|40px|alt=Archives]]
 
| style = {{{style|}}}
 
| style = {{{style|}}}
 
| text  =  
 
| text  =  
 
{{{page|This {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk}} page}}} is automatically [[Help:Archiving a talk page|archived]]{{#if:{{{bot|}}}|&#32;by [[{{{botlink|User:{{{bot}}}}}}|{{{bot}}}]]}}. Any threads with no replies in '''{{{age|7}}}&nbsp;{{{days|{{{units|days}}}}}}''' may be automatically moved{{#if:|{{{target}}}|{{#ifexist:{{#rel2abs:{{{target}}}}}|&#32;to [[{{#rel2abs:{{{target}}}}}]]}}. {{#ifeq:{{{dounreplied|}}}|no|Threads with fewer than two timestamps (no replies) are not archived|Sections without timestamps are not archived}}. {{#if:{{{index|}}}|An archive index is available [[{{#rel2abs:{{{index}}}}}|here]].}}}}
 
{{{page|This {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk}} page}}} is automatically [[Help:Archiving a talk page|archived]]{{#if:{{{bot|}}}|&#32;by [[{{{botlink|User:{{{bot}}}}}}|{{{bot}}}]]}}. Any threads with no replies in '''{{{age|7}}}&nbsp;{{{days|{{{units|days}}}}}}''' may be automatically moved{{#if:|{{{target}}}|{{#ifexist:{{#rel2abs:{{{target}}}}}|&#32;to [[{{#rel2abs:{{{target}}}}}]]}}. {{#ifeq:{{{dounreplied|}}}|no|Threads with fewer than two timestamps (no replies) are not archived|Sections without timestamps are not archived}}. {{#if:{{{index|}}}|An archive index is available [[{{#rel2abs:{{{index}}}}}|here]].}}}}
 
 
| small = {{{small|}}}
 
| small = {{{small|}}}
| smallimage = [[Image:Crystal Clear app file-manager.png|30px|alt=Archives]]
+
| smallimage = [[File:Replacement filing cabinet.svg|40px|alt=Archives]]
 
| smalltext =  
 
| smalltext =  
 
{{{page|This {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk}} page}}} is automatically [[Help:Archiving a talk page|archived]]{{#if:{{{bot|}}}|&#x20;by [[{{{botlink|User:{{{bot}}}}}}|{{{bot}}}]]}}. Threads with no replies in '''{{{age|7}}}&nbsp;{{{days|{{{units|days}}}}}}''' may be automatically moved.{{#if:{{{target|}}}|{{#ifexist:{{#rel2abs:{{{target}}}}}|&#32;[[{{#rel2abs:{{{target}}}}}|here]]}}. {{#if:{{{index|}}}|An archive index is available [[{{#rel2abs:{{{index}}}}}|here]].}}}}
 
{{{page|This {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk}} page}}} is automatically [[Help:Archiving a talk page|archived]]{{#if:{{{bot|}}}|&#x20;by [[{{{botlink|User:{{{bot}}}}}}|{{{bot}}}]]}}. Threads with no replies in '''{{{age|7}}}&nbsp;{{{days|{{{units|days}}}}}}''' may be automatically moved.{{#if:{{{target|}}}|{{#ifexist:{{#rel2abs:{{{target}}}}}|&#32;[[{{#rel2abs:{{{target}}}}}|here]]}}. {{#if:{{{index|}}}|An archive index is available [[{{#rel2abs:{{{index}}}}}|here]].}}}}
 
+
}}<noinclude>
}}<noinclude>{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
+
{{documentation}}
 +
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 +
</noinclude>

Revision as of 00:20, 14 December 2013

Template documentation[view] [edit] [history] [purge]

This is the {{auto archiving notice}} message box. It should be used on pages that are automatically archived.

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}}

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}}

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}}
{{auto archiving notice|bot=lowercase sigmabot III|age=2|units=weeks}}
{{auto archiving notice|bot=lowercase sigmabot III|botlink=User:lowercase sigmabot III}}
{{auto archiving notice|bot=lowercase sigmabot III|dounreplied=yes|page=This noticeboard}}
{{auto archiving notice|bot=lowercase sigmabot III|dounreplied=no}}
{{auto archiving notice|bot=lowercase sigmabot III|index=/Archive Index|target={{#rel2abs:./Archive}}}}

Aliases

See also

Template:Warchivenav