Template:Television episode disambiguation description
Appearance
This template uses Lua: |
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
[edit]{{Television episode disambiguation description|name=}}
{{Television episode disambiguation description|name=|not_disambiguated=}}
{{Television episode disambiguation description|name=|link_only=}}
{{Television episode disambiguation description|name=|not_disambiguated=|link_only=}}
Parameter list
[edit]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
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The episode's full article name. | String | required |
Not disambiguated | not_disambiguated | Set if the parentheses is part of the episode name. | String | optional |
Link only | link_only | Set if you are only interested in getting a formatted article link. | String | optional |
Examples
[edit]An entry for an episode title that isn't disambiguated
[edit]- Code:
{{Television episode disambiguation description|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
[edit]- Code:
{{Television episode disambiguation description|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"
[edit]- 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
[edit]- 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 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
[edit]- Code:
{{Television episode disambiguation description|name=Hush (Buffy the Vampire Slayer)|link_only=yes}}
- Produces:
[[Hush (Buffy the Vampire Slayer)|"Hush" (''Buffy the Vampire Slayer'')]]