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 P3593:

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
 * 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
URL:
 * https://catalog.afi.com/Catalog/moviedetails/
 * http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=

Usage:

Output:

Named parameters
URL:
 * https://catalog.afi.com/Catalog/moviedetails/
 * http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=

Usage:

Output:

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. 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" ] }