Difference between revisions of "Template:Britmovie title/doc"
Jump to navigation
Jump to search
imported>Zyxw (create documentation, including TemplateData and category) |
imported>Vanisaac m (→Template data: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 27: | Line 27: | ||
== Example == | == Example == | ||
| − | # For [[Doctor Syn (film)|''Doctor Syn'' (film)]], the | + | # For [[Doctor Syn (film)|''Doctor Syn'' (film)]], the BritMovie page URL is: |
#: via search: <code><nowiki>http://www.britmovie.co.uk/films/</nowiki>{{Hilite|Dr-Syn_1937}}</code> | #: via search: <code><nowiki>http://www.britmovie.co.uk/films/</nowiki>{{Hilite|Dr-Syn_1937}}</code> | ||
#: via alpha list: <code><nowiki>http://www.britmovie.co.uk/films/</nowiki>{{Hilite|Dr-Syn_1937}}/listType/alpha</code> | #: via alpha list: <code><nowiki>http://www.britmovie.co.uk/films/</nowiki>{{Hilite|Dr-Syn_1937}}/listType/alpha</code> | ||
| Line 67: | Line 67: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Film external link templates]] | [[Category:Film external link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 00:24, 24 April 2020
| This is a documentation subpage for Template:Britmovie title. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to generate an external link to a film's web page at BritMovie (britmovie.co.uk).
Usage
Unnamed parameters:
{{Britmovie title | ID }}{{Britmovie title | ID | TITLE }}
Named parameters:
{{Britmovie title | id= ID }}{{Britmovie title | id= ID | title= TITLE }}
Instructions
- Go to BritMovie and find the web page for the film. This can be done via searching for the title, via a list sorted alphabetically, or via a list sorted by year. Click on the correct link to go to that film's page. The URL should look like this:
- via search:
http://www.britmovie.co.uk/films/Movie-Name_YEAR - via alpha list:
http://www.britmovie.co.uk/films/Movie-Name_YEAR/listType/alpha - via year list:
http://www.britmovie.co.uk/films/Movie-Name_YEAR/listType/year
- via search:
- Copy only the portion after
/films/which is the movie title (with hyphens instead of spaces) following by an underscore and the year of release. Disregard any text after the year, such as/listType/alphaor/listType/year. Add one of the following to the External links section of the article:* {{Britmovie title | Movie-Name_YEAR }}* {{Britmovie title | Movie-Name_YEAR | TITLE }}* {{Britmovie title | id= Movie-Name_YEAR }}* {{Britmovie title | id= Movie-Name_YEAR | title= TITLE }}- where
Movie-Name_YEARis the movie's unique ID string as copied from the URL - and
TITLEis the title of the film (this is optional, if not specified it defaults to the Wikipedia article name).
Example
- For Doctor Syn (film), the BritMovie page URL is:
- via search:
http://www.britmovie.co.uk/films/Dr-Syn_1937 - via alpha list:
http://www.britmovie.co.uk/films/Dr-Syn_1937/listType/alpha - via year list:
http://www.britmovie.co.uk/films/Dr-Syn_1937/listType/year
- via search:
- Copy
Dr-Syn_1937and add it to this template, i.e.:{{Britmovie title | Dr-Syn_1937 | Doctor Syn }}- or
{{Britmovie title | id= Dr-Syn_1937 | title= Doctor Syn }}
- This will display as:
- Doctor Syn at BritMovie (archived)
See also
Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{TCMDb title}}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Britmovie title
This template is used to generate an external link to a film's web page at BritMovie (britmovie.co.uk).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID string used in the URL of the title's page at BritMovie. | String | required |
| Title | title 2 | Name of the title. If not specified it defaults to article's {{PAGENAME}}, without any disambiguation such as (film). | String | optional |