Module:Infobox radio episode/doc: Difference between revisions
(Created page with "{{High-use}} {{Lua|Module:Arguments|Module:Delink}} '''Module:Infobox radio episode''' is used to validate parameter values for Template:Infobox radio episode and Template:Infobox radio crossover episode. == Functions == === above_title === * {{Mlx|{{BASEPAGENAME}}|above_title}} Returns the text used for the {{para|above}} field of the infobox. === episode_list === * {{Mlx|{{BASEPAGENAME}}|episode_list}} Returns the text used for the {{para|episode_list}} fie...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Lua|Module:Arguments|Module:Delink}} | {{Lua|Module:Arguments|Module:Delink}} | ||
Latest revision as of 13:25, 23 July 2022
This module depends on the following other modules: |
Module:Infobox radio episode is used to validate parameter values for Template:Infobox radio episode and Template:Infobox radio crossover episode.
Functions
above_title
{{#invoke:Infobox radio episode|above_title}}
Returns the text used for the |above=
field of the infobox.
episode_list
{{#invoke:Infobox radio episode|episode_list}}
Returns the text used for the |episode_list=
field of the infobox.
italic_title
{{#invoke:Infobox radio episode|italic_title}}
Returns an {{Italic dab2}} instance if title qualifies. Also returns a maintenance category if conditions are met.
The article's title is italicized if the series name is included in the article's title disambiguation. No italicization happens if one of the following conditions is met:
|italic_title=no
is set.- The article's title does not use disambiguation.
- No
|series=
value is set. - The article's disambiguation is not equal or does not include the series name.
The page is added to a maintenance category if the title is italicized and there is already an {{Italic dab}}, {{Italic title}} or {{DISPLAYTITLE}} template.
Infobox parameters checked:
|series=
|italic_title=
validate_values
{{#invoke:Infobox radio episode|validate_values}}
Returns the relevant maintenance categories based on the {{Infobox radio episode}} values validated.
Infobox radio crossover episode function
validate_values_crossover
{{#invoke:Infobox radio episode|validate_values_crossover}}
Returns the relevant maintenance categories based on the {{Infobox radio crossover episode}} values validated.
See also
Maintenance categories
The module places relevant pages in the following maintenance categories:
- Category:Pages using infobox radio with flag icon (0)
- Category:Pages using infobox radio episode with image-related values without an image (0)
- Category:Pages using infobox radio episode with incorrectly formatted values (0)
- Category:Pages using infobox radio episode with non-matching title (0)
- Category:Pages using infobox radio episode with nonstandard dates (0)
- Category:Pages using infobox radio episode with unlinked values (0)
- Category:Pages using infobox radio episode with unnecessary list markup (0)
- Category:Pages using infobox radio episode with unnecessary manual displaytitle (0)
- Category:Pages using infobox radio episode with unnecessary title parameter (0)