Module:Infobox television episode/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Module:Infobox television episode is used to validate parameter values for Template:Infobox television episode and Template:Infobox television crossover episode.

Functions

[edit source]

above_title

[edit source]

Returns the text used for the |above= field of the infobox.

episode_list

[edit source]

Returns the text used for the |episode_list= field of the infobox.

italic_title

[edit source]

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

[edit source]

Returns the relevant maintenance categories based on the {{Infobox television episode}} values validated.

Infobox television crossover episode function

[edit source]

validate_values_crossover

[edit source]

Returns the relevant maintenance categories based on the {{Infobox television crossover episode}} values validated.

See also

[edit source]

Maintenance categories

[edit source]

The module places relevant pages in the following maintenance categories: