แม่แบบ:Metacritic film

จากวิกิพีเดีย สารานุกรมเสรี

{{{title}}} ที่เมทาคริติก

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

แม่แบบ:Metacritic film displays an external link to a web page for film title at the Metacritic website. It is intended for use in the external links section of an article.

Usage[แก้]

Unnamed parameters
{{Metacritic film | ID }}
{{Metacritic film | ID | TITLE }}
Named parameters
{{Metacritic film | id= ID }}
{{Metacritic film | id= ID | title= TITLE }}
Using Wikidata property (P1712)
{{Metacritic film}}
{{Metacritic film | title= TITLE }}

Instructions[แก้]

  1. Go to Metacritic.com and search for the film title. Click on the correct link to go to the film's page. The URL should look like this:
    https://www.metacritic.com/movie/film-name/
  2. Copy only the portion after /movie/ and add one of the following to the External links section of the article:
    * {{Metacritic film | film-name }}
    * {{Metacritic film | id= film-name }}
    * {{Metacritic film | film-name | Film Name }}
    * {{Metacritic film | id= film-name | title= Film Name }}
    where film-name is the film's unique ID string as copied from the URL
    and Film Name is the title of the film (this is optional, if not specified it defaults to the Wikipedia article name).

Examples[แก้]

Unnamed parameters[แก้]

URL
https://www.metacritic.com/movie/the-godfather/
Usage
* {{Metacritic film | the-godfather | The Godfather }}
Output

Named parameters[แก้]

URL
https://www.metacritic.com/movie/the-terminator/
Usage
* {{Metacritic film | id= the-terminator | title= The Terminator (1984) }}
Output

No ID in template or Wikidata[แก้]

Usage
{{Metacritic film}}
Output
{{Metacritic film}} template missing ID and not present in Wikidata.

TemplateData[แก้]

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Metacritic film (ยังไม่มีการตรวจสอบ)

This template displays an external link to a film title web page at the Metacritic website. It is intended for use in the external links section of an article.

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

พารามิเตอร์คำอธิบายชนิดสถานะ
IDid 1

The ID portion of the URL, such as the-godfather in https://www.metacritic.com/movie/the-godfather/. This parameter is optional if Wikidata property P1712 exists, but required if not.

ค่าปริยาย
Wikidata property P1712
สตริงเลือกได้
Titletitle 2

The film title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

ค่าปริยาย
{{PAGENAMEBASE}}
สตริงเลือกได้

Tracking categories[แก้]

The following are also used by {{Metacritic album}}, {{Metacritic television}} and {{Metacritic video game}}:

See also[แก้]

Similar film title templates:

Other media: