Template:Talk header: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Update for hours to days in the case of Cluebot, whose default units are hours, and has parameters like 'age=2880'. Value returned is in days to the nearest 0.5 day, for values > 24 hours; and hours, for < 24 hours. In the Tooltip pop-up, the original value in hours is retained regardless of size. Per Talk.
Strip the four archiving bot notice params, per Talk. For the time being, the four params remain in the unknown-param check code so that existing transclusions don't produce errors; that will be handled in future steps.
 
Line 39: Line 39:
{{#ifeq: {{Yesno-no|{{{hide_find_sources|}}}}} | yes ||
{{#ifeq: {{Yesno-no|{{{hide_find_sources|}}}}} | yes ||
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;">{{Find sources|{{{search_term|{{{search_term1|}}}}}}|{{{search_term2|}}}|{{{search_term3|}}}|{{{search_term4|}}}|domain={{{domain|{{{search-domain|}}}}}}}}</td></tr>}}}}{{#if: {{{noarchive|{{{noarchives|{{{archives|}}}}}}}}} || {{#if:{{#ifexist: {{FULLPAGENAME}}/Archive 1 |yes}}{{Yearly archive list|root={{FULLPAGENAME}}}}|
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;">{{Find sources|{{{search_term|{{{search_term1|}}}}}}|{{{search_term2|}}}|{{{search_term3|}}}|{{{search_term4|}}}|domain={{{domain|{{{search-domain|}}}}}}}}</td></tr>}}}}{{#if: {{{noarchive|{{{noarchives|{{{archives|}}}}}}}}} || {{#if:{{#ifexist: {{FULLPAGENAME}}/Archive 1 |yes}}{{Yearly archive list|root={{FULLPAGENAME}}}}|
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;">'''[[Help: Archiving a talk page|Archives]]:''' {{#ifexist: {{FULLPAGENAME}}/Archive index | [[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist: User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}} | [[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]],&#32;}}{{Comma separated entries|{{#ifexist: {{FULLPAGENAME}}/Archive A | {{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}}|}}|{{#ifexist: {{FULLPAGENAME}}/Archive 1 |{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}}}|{{Yearly archive list|noredir=yes|root={{FULLPAGENAME}}}}}}{{#if:{{{archive_age|{{{age|{{Th/abp|age}}}}}}}}|<span style="position: relative; top: 2px; float: right; font-size: 90%; margin-left: 1em;">{{Tooltip|Auto-archiving period|Discussions with timestamps are automatically archived by {{{archive_bot|{{{bot|{{#if: {{Th/abp|bot}} | {{Th/abp|bot}} | a bot}}}}}}}} after {{{archive_age|{{{age|{{Th/abp|age}}}}}}}}&nbsp;{{{archive_units|{{{units|{{Th/abp|units}}}}}}}} of inactivity{{#if: {{{minthreadsleft|{{Th/abp|min}}}}} | &#32;when more than {{{minthreadsleft|{{Th/abp|min}}}}} threads are present}}.}}: '''{{{archive_age|{{{age|{{Th/abp|age|round=yes}}}}}}}}&nbsp;{{{archive_units|{{{units|{{Th/abp|units|r=y}}}}}}}}'''&nbsp;[[File:Information icon4.svg|16px|link=Help:Archiving a talk page#Automated archiving|alt=]]</span>}}</td>
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;">'''[[Help: Archiving a talk page|Archives]]:''' {{#ifexist: {{FULLPAGENAME}}/Archive index | [[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist: User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}} | [[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]],&#32;}}{{Comma separated entries|{{#ifexist: {{FULLPAGENAME}}/Archive A | {{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}}|}}|{{#ifexist: {{FULLPAGENAME}}/Archive 1 |{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}}}|{{Yearly archive list|noredir=yes|root={{FULLPAGENAME}}}}}}{{#if:{{Th/abp|age}}|<span style="position: relative; top: 2px; float: right; font-size: 90%; margin-left: 1em;">{{Tooltip|Auto-archiving period|Discussions with timestamps are automatically archived by {{#if: {{Th/abp|bot}} | {{Th/abp|bot}} | a bot}} after {{Th/abp|age}}&nbsp;{{Th/abp|units}} of inactivity{{#if: {{Th/abp|min}} | &#32;when more than {{Th/abp|min}} threads are present}}.}}: '''{{Th/abp|age|round=yes}}&nbsp;{{Th/abp|units|r=y}}'''&nbsp;[[File:Information icon4.svg|16px|link=Help:Archiving a talk page#Automated archiving|alt=]]</span>}}</td>
</tr>
</tr>
}}
}}

Latest revision as of 04:32, 10 May 2024