Difference between revisions of "Module:Television episode disambiguation description/doc"
Jump to navigation
Jump to search
blackwiki>Gonnym (→Usage: fix) |
blackwiki>Gonnym (→Usage: fixes) |
||
| Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
| − | * <code><nowiki>{{#invoke:Television episode disambiguation description| | + | * <code><nowiki>{{#invoke:Television episode disambiguation description|main|name= }}</nowiki></code> |
| − | * <code><nowiki>{{#invoke:Television episode disambiguation description| | + | * <code><nowiki>{{#invoke:Television episode disambiguation description|main|name= |not_disambiguated= }}</nowiki></code> |
| − | * <code><nowiki>{{#invoke:Television episode disambiguation description| | + | * <code><nowiki>{{#invoke:Television episode disambiguation description|main|name= |link_only= }}</nowiki></code> |
| − | * <code><nowiki>{{#invoke:Television episode disambiguation description| | + | * <code><nowiki>{{#invoke:Television episode disambiguation description|main|name= |not_disambiguated= |link_only= }}</nowiki></code> |
== Examples == | == Examples == | ||
Revision as of 19:45, 4 October 2018
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.
Contents
- 1 Parameter list
- 2 Usage
- 3 Examples
- 3.1 An entry using the "name" parameter for an episode title that isn't disambiguated
- 3.2 An entry using the "name" parameter for an episode title that is disambiguated with TV series name
- 3.3 An entry using the "name" parameter for an episode title that is disambiguated with TV series name and "episode"
- 3.4 An entry using the "name" and "not_disambiguated" parameters
- 3.5 An entry using all three parameters
- 4 See also
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 using the "name" parameter for an episode title that isn't disambiguated
- Code:
{{#invoke:Television episode disambiguation description|main|name=Pickle Rick}} - Produces:
[[Pickle Rick|"Pickle Rick"]], 3rd episode of the third season of Rick and Morty
An entry using the "name" parameter 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'')]], 17th and 18th episodes of the sixth season of Lost
An entry using the "name" parameter 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)]], 1st episode of the first season of Firefly
An entry using the "name" and "not_disambiguated" parameters
- 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)]]", 22nd episode of the fourth season of Bob's Burgers
An entry using all three parameters
- 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|link_only=yes}} - Produces:
"[[World Wharf II: The Wharfening (or How Bob Saves/Destroys the Town – Part II)]]"