Difference between revisions of "Template:AFI film/doc"

From blackwiki
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

Template:Wikidata property


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

  1. Search AFI Catalog for the film title you want, and click on the correct link to go to that film's page.
  2. The page URL should look like this:
    http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=#####
    where "#####" indicates a number.
  3. 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 TITLE is the title of the film (default is the article's name).

Example

Film
  1. For Quantum of Solace, the AFI Catalog page URL is:
    http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=64729
  2. Copy 64729 and add it to this template, i.e.:
    {{AFI film | 64729 | Quantum of Solace }}
    or {{AFI film | id= 64729 | title= Quantum of Solace }}
  3. This will display as:
    Quantum of Solace at the American Film Institute CatalogScript error: No such module "EditAtWikidata".

See also

Similar film title templates:

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID number used in the URL of the title's page at the AFI Catalog.

Numberrequired
Titletitle 2

Name of the title. If not specified it defaults to article's {{PAGENAME}}, without any disambiguation such as (film).

Stringoptional