Jump to content

Template:TV Guide show/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m update headings in examples
 
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Uses Wikidata|P3804}}
__TOC__
{{Lua|Module:EditAtWikidata}}
=== Usage ===

# Go to [http://www.tvguide.com TVGuide.com] and search for the show you want.
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page for a television show at the ''[[TV Guide]]'' website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.

== Usage ==
Unnamed parameters:
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }}
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>TITLE</var> }}

Named parameters:
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }}
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> }}

Using [[Wikidata]] property {{Property|3804}}:
: {{tlcw|{{BASEPAGENAME}} }}
: {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> }}

== Instructions ==
# Go to [https://www.tvguide.com TVGuide.com] and search for the show you want.
# Click on the correct link to go to the show's page. Be sure you're getting the right show.
# Click on the correct link to go to the show's page. Be sure you're getting the right show.
# The page [[URL]] should look like <code><nowiki>http://www.tvguide.com/tvshow/title/</nowiki><font style="background-color: #FFFF88">#######</font></code>, where "#######" indicates a number.
# The page [[URL]] should look like:
#: <code><nowiki>https://www.tvguide.com/</nowiki>'''tvshows'''/<var>show-title</var>/<span style="background-color: #FFFF88">#######</span></code>
#: where "#######" indicates a number.
# Add this text to the '''External links''' section:
# Add this text to the '''External links''' section:
::<code><nowiki>{{TV Guide |####### |Title }}</nowiki></code>
#: <code><nowiki>{{TV Guide show | ####### | Title }}</nowiki></code>
:where "#######" is the number you've copied, and "Title" is the show's name
#: where "<code>#######</code>" is the number you've copied
#: and "<code>Title</code>" is the television show's title (default is article name).
==Example==

:<blockquote><code><nowiki>{{TV Guide show |100320 |NCIS }}</nowiki></code></blockquote>
== Examples ==
:generates: <blockquote>{{TV Guide show |100320 |NCIS }}</blockquote>

=== Current ID number (10 digits) ===
''Usage in the article [[NCIS (TV series)]], with article name as [[link text]]:''
: {{tlcw|a=1|{{BASEPAGENAME}} | 1030367572 }}
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 1030367572 }}

''Usage with name parameter as link text:''
: {{tlcw|a=1|{{BASEPAGENAME}} | 1030367572 | NCIS }}
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 1030367572 | title{{=}} NCIS }}

''Output:''
:* {{{{BASEPAGENAME}} | 1030367572 | NCIS }}

''URL in template:''
: <kbd>[https://www.tvguide.com/tvshows/-/1030367572/ https://www.tvguide.com/tvshows/-/{{Highlight|1030367572}}/]</kbd>

''Full URL:''
: <kbd>[https://www.tvguide.com/tvshows/ncis/1030367572/ https://www.tvguide.com/tvshows/ncis/{{Highlight|1030367572}}/]</kbd>

=== Former ID number (6 or 7 digits) ===
''Usage in the article [[NCIS (TV series)]], with article name as [[link text]]:''
: {{tlcw|a=1|{{BASEPAGENAME}} | 100320 }}
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 100320 }}

''Usage with name parameter as link text:''
: {{tlcw|a=1|{{BASEPAGENAME}} | 100320 | NCIS }}
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 100320 | title{{=}} NCIS }}

''Output:''
:* {{{{BASEPAGENAME}} | 100320 | NCIS }}

''URL in template:''
: <kbd>[https://www.tvguide.com/tvshows/-/100320/ https://www.tvguide.com/tvshows/-/{{Highlight|100320}}/]</kbd>

''Full URL:''
: <kbd>[https://www.tvguide.com/tvshows/ncis/100320/ https://www.tvguide.com/tvshows/ncis/{{Highlight|100320}}/]</kbd>

=== ID in Wikidata ===
''Usage in the article [[Ugly Betty]]:''
: {{tlcw|a=1|{{BASEPAGENAME}} }}
: {{tlcw|a=1|{{BASEPAGENAME}} | name{{=}} Ugly Betty }}

''Output:''
:* {{{{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]]

''URL in template:''
: <kbd>[https://www.tvguide.com/tvshows/-/281127/ https://www.tvguide.com/tvshows/-/{{Highlight|281127}}/]</kbd>

''Full URL:''
: <kbd>[https://www.tvguide.com/tvshows/ugly-betty/281127/ https://www.tvguide.com/tvshows/ugly-betty/{{Highlight|281127}}/]</kbd>

=== No ID in template or Wikidata ===
''Usage:''
: {{tlcw|a=1|{{BASEPAGENAME}} }}

''Output:''
:* {{{{BASEPAGENAME}} }}

== See also ==
== See also ==
*{{tl|TV Guide person}}
* {{tl|TV Guide person}} which uses [[Wikidata]] property {{Property|P3845}}
* {{tl|TV Guide movie}}
*[[Template talk:Selected filmography#Examples|Selected filmography]] … examples of other templates
* [[User talk:The Bipolar Anon-IP Gnome/Selected filmography#Examples|Selected filmography]] … examples of other templates
<includeonly>

<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<includeonly>{{Sandbox other||
[[Category:Television external link templates|{{PAGENAME}}]]
<!-- Categories below this line and interwikis at Wikidata -->
</includeonly>
[[Category:Television external link templates]]
[[Category:External link templates using Wikidata]]
}}</includeonly>

Latest revision as of 04:09, 20 May 2021

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

[edit]

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

[edit]
  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 show | ####### | Title }}
    where "#######" is the number you've copied
    and "Title" is the television show's title (default is article name).

Examples

[edit]

Current ID number (10 digits)

[edit]

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

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

Usage with name parameter as link text:

* {{TV Guide show | 1030367572 | NCIS }}
* {{TV Guide show | id= 1030367572 | title= NCIS }}

Output:

URL in template:

https://www.tvguide.com/tvshows/-/1030367572/

Full URL:

https://www.tvguide.com/tvshows/ncis/1030367572/

Former ID number (6 or 7 digits)

[edit]

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 | title= NCIS }}

Output:

URL in template:

https://www.tvguide.com/tvshows/-/100320/

Full URL:

https://www.tvguide.com/tvshows/ncis/100320/

ID in Wikidata

[edit]

Usage in the article Ugly Betty:

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

Output:

URL in template:

https://www.tvguide.com/tvshows/-/281127/

Full URL:

https://www.tvguide.com/tvshows/ugly-betty/281127/

No ID in template or Wikidata

[edit]

Usage:

* {{TV Guide show}}

Output:

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

See also

[edit]