Template:Talk header/archivebotparse/doc: Difference between revisions
More actions
Created page with "{{Documentation subpage}} {{tsh|Th/abp}} {{Template rating|beta}} Returns the value of a given archive bot parameter, if there is a validly formatted Misza or Cluebot config on the page. == Usage == {{tlc|Th/abp|''item''}}{{br}} {{tlc|Th/abp|''item''|''page''}}{{br}} == Parameters == Two positional parameters, one required: {{para|1}} – Token specifying which archiving item is needed; one of: {{pval|bot}}, {{pval|age}}, {{pval|units}}, {{pval|minthreadsleft}} (alias..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{tsh|Th/abp}} | {{tsh|Th/abp}} | ||
Returns the value of a given archive bot parameter, if there is a validly formatted Misza or Cluebot config on the page. | Returns the value of a given archive bot parameter, if there is a validly formatted Misza or Cluebot config on the page. | ||
Latest revision as of 02:01, 3 March 2025
This is a documentation subpage for Template:Talk header/archivebotparse. It may contain usage information, categories and other content that is not part of the original template page. |
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}}
?{{Talk header/archivebotparse|age|Talk:France}}
?{{Th/abp|units|Talk:France}}
?{{Th/abp|minkeepthreads|Talk:France}}
?{{Th/abp|minthreadstoarchive|Talk:Facebook}}
?- 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}}
?{{Th/abp|age|Talk:List of colors}}
?{{Th/abp|age|Talk:List of colors|round=y}}
?{{Talk header/archivebotparse|units|Talk:List of colors}}
?{{Talk header/archivebotparse|units|Talk:List of colors|round=y}}
?{{Talk header/archivebotparse|minkeepthreads|Talk:List of colors}}
?{{Th/abp|minarchthreads|Talk:Toronto}}
?{{Th/abp|minarchthreads|Talk:Thomas Jefferson}}
?{{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.