• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Talk header/miszaparse

  • Language
  • Watch
  • View source
< Template:Talk header
Template documentation[view] [edit] [history] [purge]
Shortcut
  • {{Th/mp}}
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.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Examples
  • 4 Notes
  • 5 Testing

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}} →
  • {{Talk header/miszaparse|age|Talk:Algeria}} →
  • {{Talk header/miszaparse|units|Talk:Algeria}} →
  • {{Talk header/miszaparse|min|Talk:Algeria}} →
  • 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.

Testing

  • See Template:Talk header/testcases4#Automatic archive bot parameter detection
The above documentation is transcluded from Template:Talk header/miszaparse/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Talk_header/miszaparse&oldid=9213071"
Last edited on 29 February 2024, at 19:00

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 29 February 2024, at 19:00.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop