Module:Television infoboxes disambiguation check/doc explained

Module:Television infoboxes disambiguation check handles the validation of disambiguation of pages using a television-related infobox. Currently and 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

ParameterExplanationStatus
titleThe page's title.required
validDisambiguationTypeListAn array of valid disambiguation types.required
validDisambiguationPatternListAn array of DisambiguationPattern.required
exceptionListAn array of page names that should not be validated; If there are none, pass an empty array.required
otherInfoboxListAn array of key/value pairs of the type the disambiguation to check for (key) and the tracking category to add it to (value).required