Difference between revisions of "Module:Infobox television season disambiguation check/doc"

From blackwiki
Jump to navigation Jump to search
test>Gonnym
test>Gonnym
Line 10: Line 10:
 
## Validates the year is using 4 digits.
 
## Validates the year is using 4 digits.
 
## Validates that the style is in the style of one of the following:
 
## Validates that the style is in the style of one of the following:
### season <#>
+
### season/series <#>
### series <#>
+
### <country> season/series <#>
### <country> season <#>
+
### <country> season/series
### <country> series <#>
+
### <year> TV series, season/series <#>
### <year> TV series, season <#>
+
### <country> TV series, season/series <#>
### <year> TV series, series <#>
+
### <year> <country> TV series, season/series <#>
 +
 
 
# It checks if a page is using "(TV series)" as disambiguation, but uses {{tl|Infobox television season}} instead of {{tl|Infobox television}}. If so, it places the page in [[:Category:Television articles using incorrect infobox]].
 
# It checks if a page is using "(TV series)" as disambiguation, but uses {{tl|Infobox television season}} instead of {{tl|Infobox television}}. If so, it places the page in [[:Category:Television articles using incorrect infobox]].
  

Revision as of 13:45, 8 November 2019

Module:Infobox television season disambiguation check is used to validate the disambiguation of a page using {{Infobox television season}}.

The module preforms two checks:

  1. It checks if one of the accepted WP:NCTV disambiguation styles appears in the parenthesis. If it is incorrect, it places the page in Category:Television articles with incorrect naming style.
    1. Validates the format used is one of the accepted values.
    2. Validates the country adjective used is correct.
    3. Validates the year is using 4 digits.
    4. Validates that the style is in the style of one of the following:
      1. season/series <#>
      2. <country> season/series <#>
      3. <country> season/series
      4. <year> TV series, season/series <#>
      5. <country> TV series, season/series <#>
      6. <year> <country> TV series, season/series <#>
  1. It checks if a page is using "(TV series)" as disambiguation, but uses {{Infobox television season}} instead of {{Infobox television}}. If so, it places the page in Category:Television articles using incorrect infobox.

Usage

  • {{#invoke:Infobox television season disambiguation check|main|}}

Parameter list

The following parameter can be used as a positional parameter.

Parameter Explanation Status
1 The page's title. required

See also

Tracking categories