This template is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Returns the value of a given User:MiszaBot/config parameter, if there is a validly formatted config on the page.
Usage
{{Th/mp|item}}
{{Th/mp|item|page}}
Parameters
Two positional parameters, one required:
|1=
– This is a token indicating which MiszaBot config data item to return: bot
, age
, units
, minthreadsleft
(or min
); (required).
|2=
– Full pagename of the Talk page to search for Miszabot config params (optional; default: {{FULLPAGENAME}}
).
Examples
{{Talk header/miszaparse|bot|Talk:Algeria}}
→ Lowercase sigmabot III{{Talk header/miszaparse|age|Talk:Algeria}}
→ 90{{Talk header/miszaparse|units|Talk:Algeria}}
→ days{{Talk header/miszaparse|min|Talk:Algeria}}
→ 4- See this example for Talk:France via ExpandTemplates, with only one param in the context of FULLPAGENAME =
Talk:France
.
Notes
The value returned for param |bot=
is currently hard-coded to 'Lowercase sigmabot III'. Other bots (MiszaBot, Legobot) are deactivated in favor of this one; parsing for Cluebot III is in development.
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.