Difference between revisions of "Template:AFI film/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw (update documentation, add TemplateData) |
blackwiki>Pigsonthewing (ce) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{Wikidata property|P3593}} | ||
| + | |||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
Revision as of 16:51, 7 February 2017
| This is a documentation subpage for Template:AFI film. 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 web page at the AFI Catalog of Feature Films, published by the American Film Institute.
Usage
Unnamed parameters:
{{AFI film | ID }}{{AFI film | ID | TITLE }}
Named parameters:
{{AFI film | id= ID }}{{AFI film | id= ID | title= TITLE }}
Instructions
- Search AFI Catalog for the film title you want, and click on the correct link to go to that film's page.
- The page URL should look like this:
http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=#####- where "
#####" indicates a number.
- Copy only that number. Add the following text to the External links section:
* {{AFI film | ##### | TITLE }}- or
* {{AFI film | id= ##### | title= TITLE }} - where
#####is the number you've copied, - and
TITLEis the title of the film (default is the article's name).
Example
- Film
- For Quantum of Solace, the AFI Catalog page URL is:
http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=64729
- Copy
64729and add it to this template, i.e.:{{AFI film | 64729 | Quantum of Solace }}- or
{{AFI film | id= 64729 | title= Quantum of Solace }}
- This will display as:
- Quantum of Solace at the American Film Institute CatalogScript error: No such module "EditAtWikidata".
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 AFI film
This template is used to generate an external link to a web page at the AFI Catalog of Feature Films, published by the American Film Institute.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID number used in the URL of the title's page at the AFI Catalog. | Number | 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 |