Template:AFI film/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property:

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:
 * or
 * or
 * where " " indicates a number.
 * 1) Copy  that number. Add the following text to the External links section:
 * or
 * where  is the number you've copied,
 * and  is the title of the film (default is the article's name).
 * where  is the number you've copied,
 * and  is the title of the film (default is the article's name).

Unnamed parameters

 * Usage


 * Output


 * Current URL
 * https://catalog.afi.com/Catalog/moviedetails/64729


 * Former URLs
 * http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie= 64729 (archive)
 * https://catalog.afi.com/Film/ 64729-QUANTUM-OFSOLACE (archive)

Named parameters

 * Usage


 * Output


 * Current URL
 * https://catalog.afi.com/Catalog/moviedetails/52231


 * Former URLs
 * http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie= 52231 (archive)
 * http://catalog.afi.com/Film/ 52231-THE-INCREDIBLE-SHRINKING-MAN (archive)

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{       "description": "This template displays an external link to a web page at the AFI Catalog of Feature Films, published by the American Film Institute. It is intended for use in the external links section of an article.", "params": { "id": { "aliases" : [ "1" ], "label": "ID", "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 64729 is the ID in https://catalog.afi.com/Catalog/moviedetails/64729 or http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=64729 or https://catalog.afi.com/Film/64729-QUANTUM-OFSOLACE. This parameter is optional if Wikidata property P3593 exists, but required if not.", "type": "number", "default": "Wikidata property P3593", "required": false },               "title": { "aliases" : [ "2" ], "label": "Title", "description": "The \"title\" parameter (or unnamed parameter \"2\") may be used to specify the film title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(film)\".", "type": "string", "default": "", "required": false }	},	"paramOrder": [ "id", "title" ] }