Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Television infoboxes disambiguation check/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{High-use}} {{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. == Usage == <syntaxhighlight lang="lua"> local validateDisambiguation = require('Module:Television infoboxes disambiguation check') local trackingCategory, debugString = validateDisambiguation.main(title, validDisambiguationTypeList, validDisambiguationPatternList, exceptionList, otherInfoboxList)</syntaxhighlight> == Parameter list == {| class="wikitable" |- ! scope="col" | Parameter ! scope="col" | Explanation ! scope="col" | Status |- ! scope="row" | <code>title</code> | The page's title. | required |- ! scope="row" | <code>validDisambiguationTypeList</code> | An array of valid disambiguation types. | required |- ! scope="row" | <code>validDisambiguationPatternList</code> | An array of DisambiguationPattern. | required |- ! scope="row" | <code>exceptionList</code> | An array of page names that should not be validated; If there are none, pass an empty array. | required |- ! scope="row" | <code>otherInfoboxList</code> | 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 |} <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Television-related modules]] [[Category:Infobox modules]] [[Category:Modules that add a tracking category]] }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:High-use
(
edit
)
Template:Lua
(
edit
)