Module:Television infoboxes disambiguation check/doc: Difference between revisions
Appearance
No edit summary |
Humanipedia (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 01:51, 6 February 2025
Script error: No such module "High-use". Lua error in package.lua at line 80: module 'Module:Yesno' not found.
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[edit source]
<syntaxhighlight lang="lua"> local validateDisambiguation = require('Module:Television infoboxes disambiguation check') local trackingCategory, debugString = validateDisambiguation.main(title, validDisambiguationTypeList, validDisambiguationPatternList, exceptionList, otherInfoboxList)</syntaxhighlight>
Parameter list[edit source]
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 |