Template:TV Guide show/doc: Difference between revisions
Appearance
Content deleted Content added
For example |
m update headings in examples |
||
(27 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}} |
|||
⚫ | |||
⚫ | |||
'''{{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. |
|||
⚫ | |||
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 == |
|||
⚫ | |||
# 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 |
# 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 show | ####### | Title }}</nowiki></code> |
||
:where "#######" is the number you've copied |
#: where "<code>#######</code>" is the number you've copied |
||
#: and "<code>Title</code>" is the television show's title (default is article name). |
|||
== Examples == |
|||
=== 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}} }} |
|||
⚫ | |||
:For example:<blockquote><code><nowiki>{{TV Guide show |100320 |NCIS}}</nowiki></code></blockquote> |
|||
* {{tl|TV Guide person}} which uses [[Wikidata]] property {{Property|P3845}} |
|||
:generates: <blockquote>{{TV Guide show |100320 |NCIS}}</blockquote> |
|||
⚫ | |||
⚫ | |||
* [[User talk:The Bipolar Anon-IP Gnome/Selected filmography#Examples|Selected filmography]] … examples of other templates |
|||
⚫ | |||
<includeonly> |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line and interwikis at Wikidata --> |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
[[Category:Television external link templates |
[[Category:Television external link templates]] |
||
[[Category:External link templates using Wikidata]] |
|||
</includeonly> |
}}</includeonly> |
Latest revision as of 04:09, 20 May 2021
This is a documentation subpage for Template:TV Guide show. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
This template uses Lua: |
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]- Go to 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.
- The page URL should look like:
https://www.tvguide.com/tvshows/show-title/#######
- where "#######" indicates a number.
- 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:
Full URL:
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:
Full URL:
ID in Wikidata
[edit]Usage in the article Ugly Betty:
* {{TV Guide show}}
* {{TV Guide show | name= Ugly Betty }}
Output:
URL in template:
Full URL:
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]- {{TV Guide person}} which uses Wikidata property TV Guide person ID (former scheme) (P3845)
- {{TV Guide movie}}
- Selected filmography … examples of other templates