Template:Apple TV episode

![]() | This template uses Lua: |
Template:Apple TV episode displays an external link to a television episode page from Apple TV. It is used exclusively for episodes. This template is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{Apple TV episode|ID}}
{{Apple TV episode|ID|EPISODE}}
Named parameters:
{{Apple TV episode|id=ID}}
{{Apple TV episode|id=ID|episode=EPISODE}}
Using Wikidata property Apple TV episode ID (P9750):
{{Apple TV episode}}
{{Apple TV episode|episode=EPISODE}}
Parameters
[edit]The required parameter is just the ID number (for backward compatibility, |id=
can be used) and the template then uses the article title as the anchor text:
{{Apple TV episode|ID}}
To have the link text be other than the article name, use second parameter (for backward compatibility, |episode=
can be used):
{{Apple TV episode|ID|EPISODE}}
Note that the examples include the *
for a bulleted list since this should be used in an "External links" section.
TemplateData
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Apple TV episode in articles based on its TemplateData.
TemplateData for Apple TV episode An external link template that links to an Apple TV television episode page.
|
Detailed instructions
[edit]- Copy and paste one of the options above into the article.
- Go to https://tv.apple.com, search for the show you want to find an episode ID for (say, Severance; you'll reach
https://tv.apple.com/search?term=severance
). - Click on the correct "Severance" in the list:
- You then reach the page with URL looking like
https://tv.apple.com/us/show/severance/umc.cmc.1srk2goyh2q2zdxcx605w8vtx/
(or other string) - Locate the episode from the show you are looking for.
- Once you find the episode, hover over the episode and click on the 3 dots (...). Then, hover/click on Share, then Copy Link. (say, for Woe's Hollow, you'll have
https://tv.apple.com/us/episode/woes-hollow/umc.cmc.39o64vs9jfwkrt6zr653oe0dx?showId=umc.cmc.1srk2goyh2q2zdxcx605w8vtx
on your clipboard.) - Copy only the first umc.cmc string (here, umc.cmc.39o64vs9jfwkrt6zr653oe0dx), omitting everything else.
- Replace ID in the template code with the number
- For the first option above, you'll then have
* {{Apple TV episode|umc.cmc.39o64vs9jfwkrt6zr653oe0dx}}
resulting in:
- Note that the link text is the same as the title of the page the template is used on; outside the page "Woe's Hollow", use the second option:
- Replace ID with the number and Episode with
One for the Road
* {{Apple TV episode|umc.cmc.39o64vs9jfwkrt6zr653oe0dx|Woe's Hollow}}
results in:
- For the first option above, you'll then have
Examples
[edit]ID in template
[edit]Usage in the article Chikhai Bardo:
* {{Apple TV episode|umc.cmc.2o74ozyml9e5s20mcgcazqrbg}}
* {{Apple TV episode|umc.cmc.2o74ozyml9e5s20mcgcazqrbg|Chikhai Bardo}}
Output:
ID in Wikidata
[edit]Usage in the article Chikhai Bardo:
* {{Apple TV episode}}
* {{Apple TV episode|episode=Chikhai Bardo}}
Output:
No ID in template or Wikidata
[edit]Usage:
* {{Apple TV episode}}
Output:
- {{Apple TV episode}} template missing ID and not present in Wikidata.