Template:Archives: Difference between revisions
Content added Content deleted
m (1 revision imported) |
(Undid revision 16813 by SMcCandlish (talk)) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width: {{{width|315px}}}" |
|||
<table id="archivebox" role="presentation" class="{{talk other |tmbox tmbox-notice |ombox ombox-notice |demospace={{{demospace|}}}}} mbox-small {{#ifeq:{{{collapsed}}}|yes |
|||
⚫ | |||
|collapsible collapsed |
|||
|- |
|||
|{{#ifeq:{{{collapsible}}}|yes |
|||
! [[File:Crystal Clear app file-manager.png|50px|Archive]] |
|||
|collapsible |
|||
|- |
|||
}} |
|||
! [[w:Help:Archiving a talk page|Archives]] |
|||
}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{{style|}}}"> |
|||
|- |
|||
<tr><th style="padding-top: 0.6em;">{{#switch:{{{image|}}} |
|||
| style="text-align:{{{list align|left}}};" | {{{1|{{#ifexist:{{{archivelist|{{FULLPAGENAME}}/archivelist}}}|{{{{{archivelist|{{FULLPAGENAME}}/archivelist}}}}}}}}}} |
|||
|none = <!-- no image --> |
|||
⚫ | |||
|<!--blank-->= [[File:Replacement filing cabinet.svg|{{{image-size|40px}}}|alt=|link=]]<br> |
|||
[[Category:Template]] |
|||
|#default = {{#invoke:InfoboxImage|InfoboxImage |
|||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
|||
|alt={{{alt|}}} |
|||
[[Category:Archive templates]] |
|||
|link={{{link|}}} |
|||
|image={{{image|Replacement filing cabinet.svg}}} |
|||
|size={{{image-size|}}}|sizedefault=40px |
|||
}}<br> |
|||
}}{{#if:{{{index|}}} |
|||
|[[{{#rel2abs: {{{index}}} }}|{{{title|Archives}}}]] |
|||
|{{{title|Archives}}} |
|||
}} |
|||
</th></tr> |
|||
<tr><td class="plainlinks" style="text-align:left;">{{#if:{{{list|}}} |
|||
|{{{list}}} |
|||
|{{#switch:{{#switch:{{{auto|¬}}} |
|||
|no = no |
|||
|long = long |
|||
|<!-- blank --> |
|||
|¬ = {{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |
|||
|{{#if:{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }} |
|||
|index |
|||
|long |
|||
}} |
|||
|long |
|||
}} |
|||
|yes |
|||
|#default = list |
|||
}} |
|||
|no = <!-- no output --> |
|||
|long = {{Archive list|{{#if:{{{root|}}}|root}}={{{root}}} |auto = long }} |
|||
|index = {{ {{#rel2abs:{{#if:{{{archivelist|}}}|{{{archivelist}}}|./archivelist}} }} }} |
|||
|list = <div style="text-align:center;">{{Archive list|{{#if:{{{root|}}}|root}}={{{root}}} }}</div> |
|||
}} |
|||
}}<!--Parameter content MUST be on newline in code or some wikimarkup will fail:--> |
|||
{{{1|}}} |
|||
</td></tr>{{#ifeq:{{{search|yes}}}|no| |
|||
|<tr><td>{{#tag:inputbox| |
|||
bgcolor=transparent |
|||
type=fulltext |
|||
prefix={{#if:{{{prefix|}}}|{{{prefix}}}|{{#if:{{{root|}}}|{{{root}}}|{{FULLPAGENAME}}}}/}} |
|||
break={{#if:{{{search-break|}}}|{{{search-break}}}|yes}} |
|||
width={{#if:{{{search-width|}}}|{{{search-width}}}|22}} |
|||
searchbuttonlabel={{#if:{{{search-button-label|}}}|{{{search-button-label}}}|Search}} |
|||
}} |
|||
</td></tr> |
|||
}}{{#if:{{{bot|}}}{{{age|}}}{{{target|}}} |
|||
|<tr><td>{{#if:{{{age|}}} |
|||
|{{#if:{{{botnotesmall|}}} |
|||
|<small> |
|||
}}Threads older than {{{age}}}{{#ifeq:{{{units|}}}|h|| }}{{{units|day{{#ifeq:{{{age|}}}|1||s}}}}} {{#if:{{{minthreadszero|}}}|are|may be}} |
|||
|This page is |
|||
}} archived{{#if:{{{target|}}} |
|||
|{{#ifexist:{{#rel2abs:{{{target}}}}} |
|||
| to [[{{#rel2abs:{{{target}}}}}]] |
|||
}} |
|||
}}{{#if:{{{bot|}}} |
|||
| by <span class="nowraplinks">[[User:{{{bot}}}|{{{bot}}}]]</span> |
|||
}}.</td></tr> |
|||
}}{{#ifeq:{{{auto}}}-{{{editbox|yes}}}|no-yes |
|||
⚫ | |||
}} |
|||
</table>{{#if:{{{box-width|}}} |
|||
|[[Category:Archive boxes with unusual parameters|β{{PAGENAME}}]] |
|||
⚫ | |||
{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS --> |
|||
</noinclude> |
</noinclude> |