Difference between revisions of "Module:Infobox television season disambiguation check/doc"
Jump to navigation
Jump to search
test>Gonnym m (→Usage) |
test>Gonnym |
||
| Line 4: | Line 4: | ||
'''Module:Infobox television season disambiguation check''' is used to validate the disambiguation of a page using {{tl|Infobox television season}}. | '''Module:Infobox television season disambiguation check''' is used to validate the disambiguation of a page using {{tl|Infobox television season}}. | ||
| + | == What it does == | ||
The module preforms two checks: | The module preforms two checks: | ||
| − | # 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]]. | + | # It checks by a series of validations 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]]. Validations currently supported: |
## Validates the format used is one of the accepted values. | ## Validates the format used is one of the accepted values. | ||
## Validates the country adjective used is correct. | ## Validates the country adjective used is correct. | ||
| Line 16: | Line 17: | ||
### <country> TV series, season/series <#> | ### <country> TV series, season/series <#> | ||
### <year> <country> TV series, season/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:39, 10 January 2020
| This module depends on the following other modules: |
Module:Infobox television season disambiguation check is used to validate the disambiguation of a page using {{Infobox television season}}.
What it does
The module preforms two checks:
- It checks by a series of validations 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. Validations currently supported:
- Validates the format used is one of the accepted values.
- Validates the country adjective used is correct.
- Validates the year is using 4 digits.
- Validates that the style is in the style of one of the following:
- season/series <#>
- <country> season/series <#>
- <country> season/series
- <year> TV series, season/series <#>
- <country> TV series, season/series <#>
- <year> <country> TV series, season/series <#>
- 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
- Category:Television articles with incorrect naming style (0)
- Category:Television articles using incorrect infobox (0)