Template:Archives: Difference between revisions
Appearance
m 1 revision imported |
|||
| Line 1: | Line 1: | ||
<table id="archivebox" role="presentation" class="{{talk other |tmbox tmbox-notice |ombox ombox-notice |demospace={{{demospace|}}}}} mbox-small {{#ifeq:{{{collapsed}}}|yes | {{talk other|<templatestyles src="Module:Message box/tmbox.css"/>|<templatestyles src="Module:Message box/ombox.css"/>|demospace={{{demospace|}}}}} | ||
<table id="archivebox" role="presentation" class="{{talk other|tmbox tmbox-notice|ombox ombox-notice|demospace={{{demospace|}}}}} {{#ifeq:{{{banner|{{{large}}}}}}|yes||mbox-small}} {{#ifeq:{{{collapsed}}}|yes|mw-collapsible mw-collapsed|{{#ifeq:{{{collapsible}}}|yes|mw-collapsible}}}} {{{class|}}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{#ifeq:{{{banner|{{{large}}}}}}|yes|min-width:80%;}} {{{style|}}}"> | |||
<tr> | |||
{{#ifeq:{{{banner|{{{large}}}}}}|yes | |||
|<!-- Banner style: image in a rowspan cell (if present) --> | |||
}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{{style|}}}"> | {{#ifeq:{{{image|}}}|none|| | ||
<tr> | <td rowspan="{{#expr:1+{{#ifeq:{{{search}}}|no|0|1}}+{{#if:{{{list|{{{1|}}}}}}|1|0}}+{{#if:{{{age|}}}{{{target|}}}|1|0}}}}" class="mbox-image" style="width:52px;"> | ||
{{#invoke:InfoboxImage|InfoboxImage|alt=Archiving icon|image={{{image|Replacement filing cabinet.svg}}}|size={{{image-size|}}}|sizedefault=40px}} | |||
</td> | |||
}} | |||
|<!-- Box style: header row, with image (if present) --> | |||
<td style="padding:0.6em 0 0.25em;"> | |||
<div style="{{#ifeq:{{{image|}}}|none||width:100%; overflow:hidden;}}">{{#ifeq:{{{image|}}}|none||{{#invoke:InfoboxImage|InfoboxImage|alt=Archiving icon|image={{{image|Replacement filing cabinet.svg}}}|size={{{image-size|}}}|sizedefault=40px}}<br>}}<b>{{{title|Archives}}}</b></div> | |||
</tr><tr> | |||
}}{{# | |||
}} | }} | ||
<td class="plainlinks {{#ifeq:{{{banner|{{{large}}}}}}|yes|mbox-text}}"> | |||
{{#ifeq:{{{banner|{{{large}}}}}}|yes|{{{title|Archives}}}: }}{{#switch:{{#if:{{{list|}}}|no|{{{auto|{{#if:{{{1|}}}|no}}}}}}} | |||
|#default={{#ifeq:{{{index|}}}|none||{{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] |{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]] }}}} | |||
}}{{#ifexist:{{#rel2abs:{{#if:{{{archivelist|}}}|{{{archivelist}}}|./archivelist}}}} | |||
|<div style="text-align:left;">{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }}</div> | |||
|{{Archive list | |||
|{{#if:{{{root|}}}|root|DISABLE1}}={{{root}}} | |||
|{{#ifeq:{{{banner|{{{large}}}}}}|yes|DISABLE2|auto}}={{{auto|long}}} | |||
|nobr={{#ifeq:{{{banner|{{{large}}}}}}|yes|yes|no}} | |||
|{{#if:{{{prefix|}}}|prefix|DISABLE3}}={{{prefix|}}} | |||
|{{#if:{{{start|}}}|start|DISABLE4}}={{{start|}}} | |||
}} | |||
| | |||
|# | |||
}} | }} | ||
}} | }} | ||
}}<!-- | |no=<!--no output-->}}{{#if:{{{list|{{{1|}}}}}} | ||
|</td></tr><tr><td class="plainlinks" style="padding:0px 10px; {{#ifeq:{{{banner|{{{large}}}}}}|yes||text-align:left;}}"> | |||
</td></tr>{{#ifeq:{{{search | {{{list|{{{1|}}}}}}<!--Parameters MUST be on newline or some wikimarkup will fail-->}} | ||
</td><!--List/1 MUST be separate from all other tags--> | |||
</tr>{{#ifeq:{{{search}}}|no||<tr><td style="padding-bottom:11px">{{#tag:inputbox| | |||
bgcolor=transparent | bgcolor=transparent | ||
type=fulltext | type=fulltext | ||
prefix={{if empty|{{{ | prefix={{if empty|{{{searchprefix|}}}|{{{root|}}}|{{FULLPAGENAME}}/}} | ||
break={{# | break={{#ifeq:{{{banner|{{{large}}}}}}|yes|{{{search-break|no}}}|{{{search-break|yes}}}}} | ||
width={{#if:{{{search-width|}}}|{{{search-width}}}|22}} | width={{#ifeq:{{{banner|{{{large}}}}}}|yes||{{#if:{{{search-width|}}}|{{{search-width}}}|22}}}} | ||
searchbuttonlabel= | searchbuttonlabel={{{search-button-label|{{{button-label|Search archives}}}}}} | ||
}} | }} | ||
</td></tr> | </td></tr> | ||
}}{{#if:{{{ | }}{{#if:{{{age|}}}{{{archive_age|}}}{{{target|}}}{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|<tr><td {{#ifeq:{{{banner|{{{large}}}}}}|yes|colspan=2}} style="padding:0px 10px; font-size:11.9px; {{#ifeq:{{{banner|{{{large}}}}}}|yes|text-align:center;}}"> | ||
{{#if: {{{nobot|}}}|| | |||
---- | |||
{{#if:{{{target|}}}{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|This page has {{#if: {{{target|}}} |'''[[{{#rel2abs:{{{target}}}}}|archives]]'''. |archives. }}<!-- | |||
-->{{#if: {{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}} | |||
|Sections {{#if: {{Th/abp|age|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}} | older than '''{{Th/abp|age|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}|r=y}} {{Th/abp|units|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}|r=y}}''' }} <!-- | |||
--> may be automatically archived by <span class="nowraplinks">[[User:{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}]]</span><!-- | |||
-->{{#ifexpr: {{Th/abp|min|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}} | when more than {{Th/abp|min|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}} section{{#ifexpr: {{Th/abp|min|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}-1 |s are |  is}} present}}.<!-- | |||
-->}}<!-- | |||
-->}} | |||
}}}}</td></tr> | |||
{{#ifeq:{{#if:{{{auto|}}}|auto|{{#if:{{{1|}}}|no|¬}}}}-{{{editbox|yes}}}|no-yes | |||
|{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}}|<tr><td><small class="plainlinks">[{{fullurl:{{#rel2abs:{{{archivelist|./archivelist}}}}}|action=edit&preload=Template:Archives/Preload}} Edit this box]</small></td></tr>}} | |||
}}{{# | |||
|<tr><td><small class="plainlinks">[{{fullurl:{{#rel2abs:{{{archivelist|./archivelist}}}}}|action=edit&preload=Template:Archives/Preload}} Edit this box]</small></td></tr> | |||
}} | }} | ||
</table>{{ | </table><noinclude>{{User:MiszaBot/config <!-- for page top canonical display only --> | ||
|archive = Template:Archives/ | |||
}} | |counter = 3 | ||
{{ | |minthreadsleft = 4 | ||
|minthreadstoarchive = 2 | |||
|algo = old(90d) | |||
}}{{Documentation}} | |||
</noinclude> | </noinclude> | ||
Revision as of 17:20, 24 April 2025
|
|
|
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |