Template:Metacritic person/doc
This is a documentation subpage for Template:Metacritic person. It may contain usage information, categories and other content that is not part of the original template page. |
- Metacritic ID (P1712) (see uses)
This template uses Lua: |
Template:Metacritic person displays an external link to a web page for person or group at the Metacritic website. It is intended for use in the external links section of an article.
- For a film, use {{Metacritic film}}
- For a television series or made-for-TV movie, use {{Metacritic television}}
- For a music album, use {{Metacritic album}}
- For a video game, use {{Metacritic video game}}
Usage
[edit]Unnamed parameters:
{{Metacritic person | ID }}
{{Metacritic person | ID | TITLE }}
Named parameters:
{{Metacritic person | id= ID }}
{{Metacritic person | id= ID | name= NAME }}
Using Wikidata property Metacritic ID (P1712):
{{Metacritic person}}
{{Metacritic person | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]URL:
- https://www.metacritic.com/person/julia-louis-dreyfus
Usage:
* {{Metacritic person | julia-louis-dreyfus | Julia Louis-Dreyfus }}
Output:
Named parameters
[edit]URL:
- https://www.metacritic.com/person/the-beatles
Usage:
* {{Metacritic person | id= the-beatles | name= The Beatles }}
Output:
No ID in template or Wikidata
[edit]Usage:
{{Metacritic person}}
Output:
- {{Metacritic person}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Metacritic person
This template displays an external link to a web page for person or group at the Metacritic website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") may be used to specify the ID portion of the URL. Example: julia-louis-dreyfus is the ID in https://www.metacritic.com/person/julia-louis-dreyfus. This parameter is optional if Wikidata property P1712 exists, but required if not.
| String | optional |
Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the name of the person or group, which is displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |