Difference between revisions of "Category talk:Television infoboxes disambiguation check/doc"
Jump to navigation
Jump to search
blackwiki>Pppery ({{high use}}) |
blackwiki>Pppery (Exclude from tracking category, only uses under-protected module part of the time, so not a problem) |
||
| Line 1: | Line 1: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{high use}} | {{high use}} | ||
| − | {{Lua|WP:libraryUtil|Module:Arguments|Module:Country adjective|Module:String}} | + | {{Lua|WP:libraryUtil|Module:Arguments|Module:Country adjective|Module:String|noprotcat=yes}} |
'''Module:Television infoboxes disambiguation check''' handles the validation of disambiguation of pages using a television-related infobox. Currently [[Module:Infobox television disambiguation check]] and [[Module:Infobox television season disambiguation check]] are setup to work with it. | '''Module:Television infoboxes disambiguation check''' handles the validation of disambiguation of pages using a television-related infobox. Currently [[Module:Infobox television disambiguation check]] and [[Module:Infobox television season disambiguation check]] are setup to work with it. | ||
Revision as of 20:21, 11 May 2020
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Module:Television infoboxes disambiguation check handles the validation of disambiguation of pages using a television-related infobox. Currently Module:Infobox television disambiguation check and Module:Infobox television season disambiguation check are setup to work with it.
Usage
local validateDisambiguation = require('Module:Television infoboxes disambiguation check')
local trackingCategory, debugString = validateDisambiguation.main(title, validDisambiguationTypeList, validDisambiguationPatternList, exceptionList, otherInfoboxList)
Parameter list
| Parameter | Explanation | Status |
|---|---|---|
title
|
The page's title. | required |
validDisambiguationTypeList
|
An array of valid disambiguation types. | required |
validDisambiguationPatternList
|
An array of DisambiguationPattern. | required |
exceptionList
|
An array of page names that should not be validated; If there are none, pass an empty array. | required |
otherInfoboxList
|
An array of key/value pairs of the type the disambiguation to check for (key) and the tracking category to add it to (value). | required |