Jump to content

Template:TV Guide show/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
updates for use of Wikidata
m ID in Wikidata: update example to match image used by template
Line 52: Line 52:


''Output:''
''Output:''
:* {{{{BASEPAGENAME}} | 281127 | Ugly Betty }} [[File:Blue pencil.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q276528#P3804 |Edit this at Wikidata]]
:* {{{{BASEPAGENAME}} | 281127 | Ugly Betty }} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q276528#P3804 |Edit this at Wikidata]]


''URLs:''
''URLs:''

Revision as of 08:23, 9 December 2019

Template:TV Guide show displays an external link to a page for a television show at the TV Guide website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{TV Guide show | ID }}
{{TV Guide show | ID | TITLE }}

Named parameters:

{{TV Guide show | id= ID }}
{{TV Guide show | id= ID | title= TITLE }}

Using Wikidata property TV Guide show ID (former scheme) (P3804):

{{TV Guide show}}
{{TV Guide show | title= TITLE }}

Instructions

  1. Go to TVGuide.com and search for the show you want.
  2. Click on the correct link to go to the show's page. Be sure you're getting the right show.
  3. The page URL should look like:

    https://www.tvguide.com/tvshows/show-title/#######

    where "#######" indicates a number.
  4. Add this text to the External links section:
{{TV Guide | ####### | Title }}
where

"#######" is the number you've copied, and
"Title" is the television show's title (default is article name.)

Examples

ID in template

Usage in the article NCIS (TV series), with article name as link text:

* {{TV Guide show | 100320 }}
* {{TV Guide show | id= 100320 }}

Usage with name parameter as link text:

* {{TV Guide show | 100320 | NCIS }}
* {{TV Guide show | id= 100320 | name= NCIS }}

Output:

URLs:

http://www.tvguide.com/detail/tv-show.aspx?tvobjectid=100320
https://www.tvguide.com/tvshows/100320/
https://www.tvguide.com/tvshows/ncis/100320/

ID in Wikidata

Usage in the article Ugly Betty:

* {{TV Guide show}}
* {{TV Guide show | name= Ugly Betty }}

Output:

URLs:

http://www.tvguide.com/detail/tv-show.aspx?tvobjectid=281127
https://www.tvguide.com/tvshows/281127/
https://www.tvguide.com/tvshows/ugly-betty/281127/

No ID in template or Wikidata

Usage:

* {{TV Guide show}}

Output:

  • {{TV Guide show}} template missing ID and not present in Wikidata.

See also