Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Template:Archives: Difference between revisions

From The Deep Tech Wiki
m 1 revision imported
Replaced content with "This page is being depreciated"
Tag: Replaced
 
Line 1: Line 1:
{{talk other|<templatestyles src="Module:Message box/tmbox.css"/>|<templatestyles src="Module:Message box/ombox.css"/>|demospace={{{demospace|}}}}}
This page is being depreciated
<table id="archivebox" role="presentation"<!-- Remove the implicit inherent semantics associated with a table element and make it equivalent to a div element --> 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}}}} noprint {{{class|}}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{#ifeq:{{{banner|{{{large}}}}}}|yes|min-width:80%;}} {{{style|}}}" aria-labelledby="archives-heading"<!-- The meaning of this "div" element is contained by this ID. --> aria-description="{{{aria-description|form containing {{#if:{{{noarchives|}}}||links to all this page's archive subpages and}} {{#if:{{{search}}}||a textbox to search this page's archive subpages}}}}}"><!-- If the correct keys/setting in assistive tech are used, the description will give more info. -->
<tr>
{{#ifeq:{{{banner|{{{large}}}}}}|yes
|<!-- Banner style: image in a rowspan cell (if present) -->
{{#ifeq:{{{image|}}}|none||
<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;" id="archives-icon" aria-hidden="true"><!-- Hide all icons. They give _no_ info to accessibility tech nor readers with visual impairment --><!--
-->{{#invoke:InfoboxImage|InfoboxImage|alt=|image={{{image|Replacement filing cabinet.svg}}}|size={{{image-size|}}}|sizedefault=40px}}
</td>
{{#if:{{{noarchives|}}}|</tr>}}
}}
|<!-- 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||<div id="archives-icon" aria-hidden="true">{{#invoke:InfoboxImage|InfoboxImage|alt=|image={{{image|Replacement filing cabinet.svg}}}|size={{{image-size|}}}|sizedefault=40px}}</div><br/>}}<span id="archives-heading"><b>{{{title|Archives}}}</b></span></div>
</tr>{{#if:{{{noarchives|}}}||<tr>}}
}}
{{#if:{{{noarchives|}}}||<td class="plainlinks {{#ifeq:{{{banner|{{{large}}}}}}|yes|mbox-text}}"><!--
-->{{#ifeq:{{{banner|{{{large}}}}}}|yes|<div class="archives-prevent-banner-paragraphs"><span id="archives-heading">{{{title|Archives}}}</span>&#58;&#32;}}{{#switch:{{#if:{{{list|}}}|no|{{{auto|{{#if:{{{1|}}}|no|{{#if:{{{inlinelist|}}}|inlinelist}} }} }}} }}
|#default={{#ifeq:{{{index|}}}|none||{{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]]&#32;|{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]]&#32;}} }}
}}{{#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|}}}
  }}
}}
|inlinelist={{{inlinelist|}}}
|no=<!--no output-->}}{{#if:{{{nobot|}}}||{{#if:{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|{{#if:{{{tooltip|}}}|<!--Compact tooltip version of archive configuration summary-->
<div style="position: relative; top: 2px; {{#ifeq:{{{banner|{{{large}}}}}}|yes|float: right;|margin-bottom: 1ex;}} font-size: 90%; margin-left: 1em;">{{Tooltip|Auto-archiving<!--
-->{{#if:{{Th/abp|age|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|&#32;period}}<!--
-->|{{Automatic archives blurb|root={{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|}}}|nowikitext=y}} }}<!--
-->{{#if:{{Th/abp|age|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|{{colon}} '''{{human readable duration|{{Th/abp|age|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|{{Th/abp|units|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}<!---->}}'''}}<!--
-->&nbsp;[[File:Information icon4.svg|16px|link=Help:Archiving a talk page#Automated archiving|alt=]]</div>}} }} }}
{{#ifeq:{{{banner|{{{large}}}}}}|yes|</div>|<!--This div should only be opened in the banner display.-->}}</td><!--List/1 MUST be separate from all other tags-->
</tr>{{#if:{{{list|{{{1|}}}}}}
|<tr><td class="plainlinks" style="padding:0px 10px; {{#ifeq:{{{banner|{{{large}}}}}}|yes||text-align:left;}}">
{{{list|{{{1|}}}}}}<!--Parameters MUST be on newline or some wikimarkup will fail-->
</td></tr>}}
}}<!--end #if noarchives
-->{{#ifeq:{{{search}}}|no||<tr><td style="padding-bottom:11px"><div id="archives-inputbox-id"<!-- This is so they can be targeted by custom CSS for accessibility reasons. --> class="archives-inputbox-css" role="search"<!-- The search role is a landmark role that can be added to the container element that encompasses all of the elements that combined to form the search feature --> aria-label="talk archive"<!-- If there is more than one search landmark role in a document, provide a label for each landmark. a declaration of role="search" with an aria-label="Sitewide search" may be announced redundantly as, "sitewide search search".
so give it the label "talk archive"--> aria-description="search results will load on a new page"<!-- If the correct keys/setting in assistive tech are used, the description will give more info. -->>{{#tag:inputbox|
bgcolor=transparent
type=fulltext
prefix={{if empty|{{{searchprefix|}}}|{{{root|}}}|{{FULLPAGENAME}}/}}
break={{#ifeq:{{{banner|{{{large}}}}}}|yes|{{{search-break|no}}}|{{{search-break|yes}}}}}
width={{#ifeq:{{{banner|{{{large}}}}}}|yes||{{#if:{{{search-width|}}}|{{{search-width}}}|22}} }}
searchbuttonlabel={{{search-button-label|{{{button-label|Search archives}}}}}}
placeholder={{{placeholder|Search term}}}<!-- If the correct keys/setting in assistive tech are used, the description will give more info. -->
}}</div>
</td></tr>
}}{{#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|}}}{{{tooltip|}}}||
----
{{#if:{{{target|}}}{{Th/abp|bot|{{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|1}}}}}|This page has {{#if: {{{target|}}} |'''[[{{#rel2abs:{{{target}}}}}|archives]]'''.&#32;|archives.&#32;}}{{Automatic archives blurb|root={{{root|{{FULLPAGENAME}}}}}|cfg={{{cfg|}}}}}
}} }}
}}</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>}}
}}
</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>

Latest revision as of 00:19, 20 November 2025

This page is being depreciated