Difference between revisions of "Template:BFI/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (add {{documentation subpage}})
imported>Zyxw
(updates for Wikidata tracking)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
{{Uses Wikidata|P4438}}
 
{{Uses Wikidata|P4438}}
{{Lua|Module:EditAtWikidata}}
+
{{Tracks Wikidata|P4438}}
 +
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' 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 [[Wikipedia:External links|external links]] section of an article.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' 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 [[Wikipedia:External links|external links]] section of an article.
Line 75: Line 76:
 
</templatedata>
 
</templatedata>
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
== Tracking categories ==
 +
; template with ID
 +
* {{clc|BFI template with ID different from Wikidata}}
 +
* {{clc|BFI template with ID not in Wikidata}}
 +
; template missing ID
 +
* {{clc|BFI template missing ID and not in Wikidata}}
 +
 
 +
== See also ==
 +
Similar film title templates:
 +
* {{tl|IMDb title}}
 +
* {{tl|AllMovie title}}
 +
* {{tl|TCMDb title}}
 +
* {{tl|AFI film}}
 +
* {{tl|Rotten Tomatoes}}
 +
* {{tl|Metacritic film}}
 +
* {{tl|Mojo title}}
 +
 
 +
Similar person templates:
 +
* {{tl|IMDb name}}
 +
* {{tl|AllMovie name}}
 +
* {{tl|TCMDb name}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Film external link templates]]
 
[[Category:Film external link templates]]
Line 81: Line 104:
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]
 
[[Category:External link templates using Wikidata]]
 
[[Category:External link templates using Wikidata]]
 +
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 21:58, 9 August 2020

Template:Uses Wikidata Template:Tracks Wikidata

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:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Using Wikidata property P4438:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Examples

Film

URL:

https://www.bfi.org.uk/films-tv-people/4ce2b6b82c47d

Usage:

Template:Tlcw

Output:

Person

URL:

https://www.bfi.org.uk/films-tv-people/4ce2b9ee3449d

Usage:

Template:Tlcw

Output:

No ID in template or Wikidata

Usage
Template:Tlcw
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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: