m →See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
|
#: or <code><nowiki>https://catalog.afi.com/Film/</nowiki>{{Hilite|#####}}-NAME</code><!-- https://catalog.afi.com/Film/21594-WHOS-MINDINGTHEMINT -->
|
||
Line 25: | Line 25: | ||
#: <code><nowiki>https://catalog.afi.com/Catalog/moviedetails/</nowiki>{{Hilite|#####}}</code> |
#: <code><nowiki>https://catalog.afi.com/Catalog/moviedetails/</nowiki>{{Hilite|#####}}</code> |
||
#: or <code><nowiki>http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=</nowiki>{{Hilite|#####}}</code> |
#: or <code><nowiki>http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=</nowiki>{{Hilite|#####}}</code> |
||
#: or <code><nowiki>https://catalog.afi.com/Film/</nowiki>{{Hilite|#####}}-NAME</code><!-- https://catalog.afi.com/Film/21594-WHOS-MINDINGTHEMINT --> |
|||
#: where "<code>#####</code>" indicates a number. |
#: where "<code>#####</code>" indicates a number. |
||
# Copy {{em|only}} that number. Add the following text to the '''External links''' section: |
# Copy {{em|only}} that number. Add the following text to the '''External links''' section: |
![]() | This is a documentation subpage for Template:AFI film. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 8,700 pages and changes may be widely noticed. Test changes in the template's /sandboxor/testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua:
|
Template:AFI film 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.
Unnamed parameters:
{{AFI film | ID }}
{{AFI film | ID | TITLE }}
Named parameters:
{{AFI film | id= ID }}
{{AFI film | id= ID | title= TITLE }}
Using Wikidata property P3593:
{{AFI film}}
{{AFI film | title= TITLE }}
https://catalog.afi.com/Catalog/moviedetails/#####
http://www.afi.com/members/catalog/DetailView.aspx?s=&Movie=#####
https://catalog.afi.com/Film/#####-NAME
#####
" indicates a number.* {{AFI film | ##### | TITLE }}
* {{AFI film | id= ##### | title= TITLE }}
#####
is the number you've copied,TITLE
is the title of the film (default is the article's name).URL:
Usage:
* {{AFI film | 64729 | Quantum of Solace }}
Output:
URL:
Usage:
* {{AFI film | id= 52231 | title= The Incredible Shrinking Man }}
Output:
Usage:
{{AFI film}}
Output:
TemplateData for AFI film
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | 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.
| Number | optional |
Title | title 2 | 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)".
| String | optional |
Similar film title templates: