Template:Netflix title: Difference between revisions
m Protected "Template:Netflix title": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
Johnrdorazio (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property: |
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P792}} |
||
| ''[https://www.netflix.com/title/{{#if: {{trim|{{{id|{{{1|<noinclude>-</noinclude>}}}}}}}} |
| ''[https://www.netflix.com/title/{{#if: {{trim|{{{id|{{{1|<noinclude>-</noinclude>}}}}}}}} |
||
| {{trim|{{{id|{{{1|}}}}}}}} |
| {{trim|{{{id|{{{1|}}}}}}}} |
||
| {{First word|1={{#property: |
| {{First word|1={{#property:P792}}|sep=,}} |
||
}} {{{title|{{{2|{{PAGENAMEBASE}}}}}}}}]'' on [[Netflix]]<includeonly>{{EditAtWikidata|pid= |
}} {{{title|{{{2|{{PAGENAMEBASE}}}}}}}}]'' on [[wikipedia:Netflix|Netflix]]<includeonly>{{EditAtWikidata|pid=P792|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P792|value={{{1|{{{id|}}}}}}|category=Netflix title ID}}[[Category:Pages containing links to subscription-only content]]</includeonly> |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 05:35, September 3, 2020
This template uses Lua: |
This template is used to generate an external link to a web page at Netflix.
Note: This template should only be added to Netflix original programs, original films and original stand-up comedy specials articles.
Usage
Unnamed parameters:
{{Netflix title | ID }}
{{Netflix title | ID | TITLE }}
Named parameters:
{{Netflix title | id= ID }}
{{Netflix title | id= ID | title= TITLE }}
Using Wikidata property BVPH publication ID (P1874):
{{Netflix title}}
{{Netflix title | title = TITLE }}
Instructions
- Go to netflix.com and search for the title you want.
- Hover on the thumbnail of the title and click on the white arrow.
- The page URL should look like this:
https://www.netflix.com/search?q=Title%20Name&jbv=########
- Copy the
########
numbers that appear after&jbv=
in the URL. - Add one of the following to the external links section of the article:
{{Netflix title | ######## }}
{{Netflix title | ######## | Title Name }}
{{Netflix title | id= ######## }}
{{Netflix title | id= ######## | title= Title Name }}
########
are the numbers 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
Parameter: id (1)
- Go to netflix.com and search for Arrested Development.
- Hover on the thumbnail for "Arrested Development" and click on the white arrow. The Netflix page URL is:
https://www.netflix.com/search?q=Arrested%20Development&jbv=70140358
- Copy
70140358
and add it to the template.
Example: {{Netflix title | 70140358 }}
- Result: Netflix title on Netflix
Example: {{Netflix title | id= 70140358 }}
- Result: Netflix title on Netflix
Parameter: title (2)
Example: {{Netflix title | 70140358 | Arrested Development }}
- Result: Arrested Development on Netflix
Example: {{Netflix title | id= 70140358 | title= Arrested Development }}
- Result: Arrested Development on Netflix
Template data
TemplateData for Netflix title
This is a template to generate links to Netflix.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title number | id 1 | Number of the Netflix title, taken from the numbers at the end of its Netflix URL.
| Number | optional |
Title name | title 2 | Name of the production, which may include the year made (in parentheses).
| String | optional |