Template:Talk header/archivebotparse
| This template is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This template is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
Returns the value of a given archive bot parameter, if there is a validly formatted Misza or Cluebot config on the page.
Usage
{{Th/abp|item}}
{{Th/abp|item|page}}
Parameters
Two positional parameters, one required:
|1= – Token specifying which archiving item is needed; one of: bot, age, units, minthreadsleft (alias: minkeepthreads, min).
|2= – Full pagename of the Talk page to search for archival bot config params (default: {{FULLPAGENAME}} ).
Examples
Examples for a Talk page using config file User:MiszaBot/config:
{{Talk header/archivebotparse|bot|Talk:France}}→ Lowercase sigmabot III{{Talk header/archivebotparse|age|Talk:France}}→ 90{{Th/abp|units|Talk:France}}→ days{{Th/abp|minkeepthreads|Talk:France}}→ 4{{Th/abp|minthreadstoarchive|Talk:Facebook}}→ 2- See this example for Talk:France via ExpandTemplates, with only one param in the context of FULLPAGENAME =
Talk:France.
Examples for a Talk page using config file User:ClueBot III/ArchiveThis:
{{Th/abp|bot|Talk:List of colors}}→ ClueBot III{{Th/abp|age|Talk:List of colors}}→ 183{{Th/abp|age|Talk:List of colors|round=y}}→ 7.5{{Talk header/archivebotparse|units|Talk:List of colors}}→ hours{{Talk header/archivebotparse|units|Talk:List of colors|round=y}}→ days{{Talk header/archivebotparse|minkeepthreads|Talk:List of colors}}→ 4{{Th/abp|minarchthreads|Talk:Toronto}}→ 7{{Th/abp|minarchthreads|Talk:Thomas Jefferson}}→ 1{{Th/abp|maxkeepbytes|Talk:Thomas Jefferson}}→
- See this example for Talk:2022 via ExpandTemplates, with only one param in the context of FULLPAGENAME =
Talk:2022.
Notes
The second parameter is mostly for testing; the template is designed to pick up the config from the page that the Template Talk header is on, so should never be needed in normal use. Perhaps it could become useful for comparative analyses of how different pages employ archiving.
Testing
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.