Template:BFI: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
| ''{{PAGENAMEBASE}}'' | | ''{{PAGENAMEBASE}}'' | ||
}} | }} | ||
}}</span>] at the [[w:British Film Institute|British Film Institute]]<includeonly>{{EditAtWikidata|pid=P4438|{{{1|{{{id|}}}}}}}}</includeonly> | }}</span>] at the [[w:British Film Institute|British Film Institute]]<includeonly>{{EditAtWikidata|pid=P4438|{{{1|{{{id|}}}}}}}}</includeonly> | ||
| <span class="error">{{[[Template:BFI|BFI]]}} template missing ID and not present in Wikidata.</span>{{preview warning|1=to find the ID, try this [https://www.google.com/search?q={{urlencode:{{Remove accents|{{PAGENAMEBASE}}}}}}+site%3Abfi.org.uk%2Ffilms-tv-people%2F Google search]}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BFI template missing ID and not in Wikidata]]}} | | <span class="error">{{[[Template:BFI|BFI]]}} template missing ID and not present in Wikidata.</span>{{preview warning|1=to find the ID, try this [https://www.google.com/search?q={{urlencode:{{Remove accents|{{PAGENAMEBASE}}}}}}+site%3Abfi.org.uk%2Ffilms-tv-people%2F Google search]}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:BFI template missing ID and not in Wikidata]]}} |
Latest revision as of 15:47, 16 November 2022
{{{title}}} at the British Film Institute
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}} 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}} 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}} 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}} 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}} 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}} 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}} 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}} 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}} 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}} 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}} 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 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}}
- Pages with script errors
- Pages which use = as a template
- Templates using data from Wikidata
- Templates tracking Wikidata
- Lua-based templates
- Pages which use a template in place of a magic word
- Templates using TemplateData
- Film external link templates
- Television external link templates
- People and person external link templates
- External link templates using Wikidata
- Templates that add a tracking category