Jump to content

Module:Television episode disambiguation description/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gonnym (talk | contribs) at 10:35, 5 October 2018 (adding what template this module implements). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Module:Television episode disambiguation creates an entry in a disambiguation page by converting a plain text episode article name into a correctly formatted link and its short description. The style of the links follows the guidelines at WP:NCTV, MOS:DABENTRY, MOS:ITALICTITLE and MOS:QUOTETITLE.

This module implements the {{Television episode disambiguation description}} template.

Parameter list

  • name — required; The episode's full article name.
  • not_disambiguated — optional; Set if the parentheses is part of the episode name.
  • link_only — optional; Set if you are only interested in getting a formatted article link.

Usage

  • {{#invoke:Television episode disambiguation description|main|name= }}
  • {{#invoke:Television episode disambiguation description|main|name= |not_disambiguated= }}
  • {{#invoke:Television episode disambiguation description|main|name= |link_only= }}
  • {{#invoke:Television episode disambiguation description|main|name= |not_disambiguated= |link_only= }}

Examples

An entry for an episode title that isn't disambiguated

  • Code: {{#invoke:Television episode disambiguation description|main|name=Pickle Rick}}
  • Produces: "[[Pickle Rick]]", <span style="font-size:100%;" class="error">error: no short description text in: Infobox television episode in Pickle Rick</span>

An entry for an episode title that is disambiguated with TV series name

  • Code: {{#invoke:Television episode disambiguation description|main|name=The End (Lost)}}
  • Produces: [[The End (Lost)|"The End" (''Lost'')]], <span style="font-size:100%;" class="error">error: no short description text in: Infobox television episode in The End (Lost)</span>

An entry for an episode title that is disambiguated with TV series name and "episode"

  • Code: {{#invoke:Television episode disambiguation description|main|name=Serenity (Firefly episode)}}
  • Produces: [[Serenity (Firefly episode)|"Serenity" (''Firefly'' episode)]], <span style="font-size:100%;" class="error">error: no short description text in: Infobox television episode in Serenity (Firefly episode)</span>

An entry using the "not_disambiguated" parameter

  • Code: {{#invoke:Television episode disambiguation description|main|name=World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II)|not_disambiguated=yes}}
  • Produces: "[[World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II)]]", <span style="font-size:100%;" class="error">error: no short description text in: Infobox television episode in World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II)</span>

An entry using the "link_only" parameter

  • Code: {{#invoke:Television episode disambiguation description|main|name=Hush (Buffy the Vampire Slayer)|link_only=yes}}
  • Produces: [[Hush (Buffy the Vampire Slayer)|"Hush" (''Buffy the Vampire Slayer'')]]

See also