Template:BFI/doc: Difference between revisions
en>Zyxw m (→Examples: update) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 21:16, 20 July 2022
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
Unnamed parameters:
{{BFI | ID }}
{{BFI | ID | TITLE }}
Named parameters:
{{BFI | id=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. ID }}
{{BFI | id=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. ID | title=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. TITLE }}
{{BFI | id=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. ID | name=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. NAME }}
Using Wikidata property P4438:
{{BFI}}
{{BFI | title=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. TITLE }}
{{BFI | name=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. NAME }}
Examples
Film
- Usage
* {{BFI | id=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. 4ce2b6b82c47d | title=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. The 39 Steps }}
- Output
- URLs
- https://www.bfi.org.uk/films-tv-people/4ce2b6b82c47d
- https://www2.bfi.org.uk/films-tv-people/4ce2b6b82c47d
Person
- Usage
* {{BFI | id=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. 4ce2b9ee3449d | name=
Error: The retired template {{Template:BFI/doc}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. 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
- Usage
* {{BFI}}
- Output
-
- BFI/doc at the British Film Institute
TemplateData
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 | 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
- 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
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}}