ข้ามไปเนื้อหา

แม่แบบ:Epguides

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

Epguides ที่เอปไกดส์ดอตคอม

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

This is a template to generate links to epguides.com. This template should be used exclusively for TV series.

Usage

[แก้]

Unnamed parameters (for ID and TITLE):

  • {{Epguides | ID }}
  • {{Epguides | ID | TITLE }}
  • {{Epguides | ID | list= yes }}
  • {{Epguides | ID | TITLE | list= yes }}

Named parameters:

  • {{Epguides | id=ID }}
  • {{Epguides | id= ID | title= TITLE }}
  • {{Epguides | id= ID | list= yes }}
  • {{Epguides | id= ID | title= TITLE | list= yes }}

Using Wikidata property (P3121):

  • {{Epguides}}
  • {{Epguides | title= TITLE }}
  • {{Epguides | title= TITLE | list= yes }}

Instructions

[แก้]
  1. Go to epguides.com and search for the title you want
  2. Click on the correct link to go to the series's page.
  3. The page URL should look like http://epguides.com/SeriesName, where "SeriesName" is the title of the series in CamelCase.
  4. Copy the SeriesName
  5. Add to the external links section the text:
{{epguides|id=SeriesName|title=Series Name}}
OR
{{epguides|id=SeriesName}}

Note: if you leave the "|title=Series Name" parameter out, it will default to the name of the Wikipedia page, which is usually the same as the series name.

Examples

[แก้]

Note that, since this will almost certainly go on the external link section, you should add an asterisk (*) before the template text to include it as a list item.

Unnamed parameters

[แก้]

URL:

http://epguides.com/EverybodyLovesRaymond

Usage:

* {{Epguides | EverybodyLovesRaymond }}
* {{Epguides | EverybodyLovesRaymond | Everybody Loves Raymond }}
* {{Epguides | EverybodyLovesRaymond | Everybody Loves Raymond | list= yes }}

Output:

Named parameters

[แก้]

URL:

http://epguides.com/OutoftheBlue_1979

Usage:

* {{Epguides | id= OutoftheBlue_1979 }}
* {{Epguides | id= OutoftheBlue_1979 | title= Out of the Blue }}
* {{Epguides | id= OutoftheBlue_1979 | title= Out of the Blue | list= yes }}

Output:

TemplateData

[แก้]
ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดย ตัวช่วยสร้างแม่แบบ, เครื่องมือแก้ไขแบบเห็นภาพ และเครื่องมืออื่น ๆ ดูรายงานการใช้พารามิเตอร์ประจำเดือนสำหรับแม่แบบ:Epguides

ข้อมูลแม่แบบสำหรับ Epguides

This is a template to generate links to epguides.com.

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

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

String of the Epguides title, taken from the strings at the end of its Epguides URL. This parameter is optional if Wikidata property P3121 contains an ID, but required if not.

ค่าปริยาย
Wikidata property P3121 or Epguides search URL
สตริงเลือกได้
Titletitle 2

Title of the production. Defaults to the Wikipedia article name, without any disambiguation such as (TV series).

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

To change the text to List of [title] episodes

ตรรกะเลือกได้

Wikidata

[แก้]

The Wikidata project provides a central collection of information and parameters for articles for the various Wikimedia Foundation projects. This includes the Epguides title codes for TV series. For example, the TV series Quantum Leap has a corresponding Wikidata item (Q230506), which in turn includes an Epguides ID. If {{Epguides}} is invoked in an article without the "id" parameter, and if Wikidata has an Epguides identifier specified for that article's corresponding item, the Epguides link with its title code will be included automatically.

For new TV articles, the Epguides identifier property (and the series title item itself) may need to be added at Wikidata first, so that the default Epguides link can be available for use on Wikipedia and other Wikimedia projects.

This Wikidata capability was implemented on the English Wikipedia as of April 2013.

Note that the ID code (first parameter) can still be specified as before and this will override the Wikidata default e.g. where this template is used to link to a TV whose title does not correspond to the subject of the article.

The second parameter for the TV series title override is still available to handle differences between article titles and film titles (e.g. due to disambiguation wording in the title). The first parameter may be left blank to default from Wikidata - for example {{Epguides||Alternate title}}.

Tracking categories

[แก้]