Template:BFI/doc
This is a documentation subpage for Template:BFI. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:BFI displays an external link to a page in the "Films, TV and people" section of the British Film Institute (BFI) website. It is intended for use in the external links section of an article.
Usage
[kulemba source]Unnamed parameters:
{{BFI | ID }}
{{BFI | ID | TITLE }}
Named parameters:
{{BFI | id= ID }}
{{BFI | id= ID | title= TITLE }}
{{BFI | id= ID | name= NAME }}
Using Wikidata property P4438:
{{BFI}}
{{BFI | title= TITLE }}
{{BFI | name= NAME }}
Examples
[kulemba source]Film
[kulemba source]- Usage
* {{BFI | id= 4ce2b6b82c47d | title= The 39 Steps }}
- Output
- URLs
- https://www.bfi.org.uk/films-tv-people/4ce2b6b82c47d
- https://www2.bfi.org.uk/films-tv-people/4ce2b6b82c47d
Person
[kulemba source]- Usage
* {{BFI | id= 4ce2b9ee3449d | name= Alfred Hitchcock }}
- Output
- URLs
- https://www.bfi.org.uk/films-tv-people/4ce2b9ee3449d
- https://www2.bfi.org.uk/films-tv-people/4ce2b9ee3449d
No ID in template or Wikidata
[kulemba source]- Usage
* {{BFI}}
- Output
-
- {{BFI}} template missing ID and not present in Wikidata.
TemplateData
[kulemba source]TemplateData for BFI
This template displays an external link to a page in the "Films, TV and people" section of the British Film Institute (BFI) website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL. Example: 4ce2b6b82c47d in https://www.bfi.org.uk/films-tv-people/4ce2b6b82c47d. This parameter is optional if Wikidata property P4438 exists, but required if not.
| String | optional |
Title or name | title name 2 | Title of film or television series title, or name of person, used as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)" or "(director)".
| String | optional |
Tracking categories
[kulemba source]- template with ID
- Category:BFI template with ID different from Wikidata (0)
- Category:BFI template with ID not in Wikidata (0)
- template missing ID
See also
[kulemba source]Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{TCMDb title}}
- {{AFI film}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
- {{Mojo title}}
Similar person templates:
- {{IMDb name}}
- {{AllMovie name}}
- {{TCMDb name}}