الگو:Metacritic album
ظاهر
این الگو از لوآ استفاده میکند: |
الگو:Metacritic album displays an external link to a web page for a music or album title at the متاکریتیک website.
- For a film, use {{Metacritic film}}
- For a television series or made-for-TV movie, use {{Metacritic television}}
- For a video game, use {{Metacritic video game}}
Usage
[ویرایش]Unnamed parameters:
{{Metacritic album | ID }}
{{Metacritic album | ID | TITLE }}
Named parameters:
{{Metacritic album | id= ID }}
{{Metacritic album | id= ID | title= TITLE }}
{{Metacritic album | id= ID | title= TITLE | accessdate= DATE }}
Named parameters, vertical layout:
{{Metacritic album | id = | title = | accessdate = }}
Using ویکیداده property شناسه متاکریتیک (P1712):
{{Metacritic album}}
{{Metacritic album | title= TITLE }}
Instructions
[ویرایش]- Search on Metacritic.com for the title you want.
- Click on the correct link to go to the album's page.
- The page مکانیاب منبع یکسان for an album should look like https://www.metacritic.com/music/TTTTTTT, with the TTTTTT being the album's title as used in the MetaCritic link (usually the album title in lower case with hyphens substituted for spaces).
- Copy ONLY that text that follows https://www.metacritic.com/music/
- Add to the external links section the text:
{{Metacritic album|id=TTTTTTT|title=Example}}
- You may define an access date also, using the following:
{{Metacritic album|id=TTTTTTT|title=Example|accessdate=YYYY-MM-DD}}
- The title field is completely optional, and will default to the Wikipedia article title if left out.
- accessdate is also an optional parameter, this will simply not be shown if not supplied.
Examples
[ویرایش]When listing in a bulleted ویکیپدیا:پیوند به بیرون section, remember to add an asterisk (*
) before the template for the bullet.
Unnamed parameters
[ویرایش]URL:
- https://www.metacritic.com/music/my-best-friend-is-you/kate-nash
Usage:
* {{Metacritic album | my-best-friend-is-you | My Best Friend Is You }}
Output:
Named parameters
[ویرایش]URL:
- https://www.metacritic.com/music/live-at-reading/nirvana
Usage:
* {{Metacritic album | id= live-at-reading | title= Live At Reading | accessdate= 2019-03-31 }}
Output:
- Live At Reading در متاکریتیک. Retrieved 2019-03-31.
No ID in template or Wikidata
[ویرایش]Usage:
* {{Metacritic album}}
Output:
- {{الگو:Metacritic album}} template missing ID and not present in Wikidata.