Template:BFI/doc: Difference between revisions

From The Goon Show Depository
en>Zyxw
m (→‎Examples: update)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 21:16, 20 July 2022

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BFI in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P4438
Stringoptional
titletitle 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

template with ID
template missing ID

See also

Similar film title templates:

Similar person templates: