Template:Peacock title/sandbox
Appearance
Peacock title/sandbox on Peacock
This is the template sandbox page for Template:Peacock title (diff). |
This template uses Lua: |
This template is used to generate an external link to a web page at Peacock (streaming service).
Note: This template should only be added to programming original to Peacock.
Usage
[edit]Unnamed parameters:
{{Peacock title | ID }}
{{Peacock title | ID | TITLE }}
Named parameters:
{{Peacock title | id= ID }}
{{Peacock title | id= ID | title= TITLE }}
Using Wikidata property Q67765302:
{{Peacock title}}
{{Peacock title | title = TITLE }}
Instructions
[edit]- Go to peacocktv.com and search for the title you want.
- Click on the thumbnail for the title.
- The page URL should look like this:
https://www.peacocktv.com/watch/asset/tv:XXXXX...
- or
https://play.hbomax.com/watch/movies/:XXXXX...
- Copy the text that appears after
https://www.peacocktv.com/
in the URL. - Add one of the following to the external links section of the article:
{{Peacock title | XXXXX... }}
{{Peacock title | XXXXX... | Title Name }}
{{Peacock title | id= XXXXX... }}
{{Peacock title | id= XXXXX... | title= Title Name }}
-----
is the text you've copied andTitle Name
is the title of the movie or show.
- Note: This is a list item in the external links section so you should add a "*" in front of the template.
Examples
[edit]Parameter: id (1)
[edit]- Go to peacock.com and search for Wolf Like Me.
- Click on the link for Wolf Like Me. The link's URL is:
https://www.peacocktv.com/watch/asset/tv:5533097559803790112
- Copy
watch/asset/tv:5533097559803790112
and add it to the template.
Example: {{Peacock title | watch/asset/tv/wolf-like-me/5533097559803790112}}
- Result: Peacock title/sandbox on Peacock
Template data
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Peacock title in articles based on its TemplateData.
TemplateData for Peacock title
This is a template to generate links to Peacock.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title ID | id 1 | Identifier of the Peacock title, taken from the end of its Peacock URL.
| String | optional |
Title name | title 2 | Name of the production, which may include the year made (in parentheses).
| String | optional |