Template:Television episode disambiguation description/doc: Difference between revisions

From IxWiki
Jump to navigation Jump to search
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 00:59, 5 January 2023

Template:Television episode disambiguation description 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.

Usage

Parameter list

Parameter Explanation Status
name The episode's full article name required
not_disambiguated Set if the parentheses is part of the episode name optional
link_only Set if you are only interested in getting a formatted article link optional

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Television episode disambiguation description in articles based on its TemplateData.

TemplateData for Television episode disambiguation description

This template creates an entry in a disambiguation page by converting a plain text episode article name into a correctly formatted link and its short description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The episode's full article name.

Stringrequired
Not disambiguatednot_disambiguated

Set if the parentheses is part of the episode name.

Stringoptional
Link onlylink_only

Set if you are only interested in getting a formatted article link.

Stringoptional

Examples

An entry for an episode title that isn't disambiguated

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

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

  • Code: {{Television episode disambiguation description|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: {{Television episode disambiguation description|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 article: World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II)</span>

An entry using the "link_only" parameter

See also