แม่แบบ:ISBN
| แม่แบบนี้ใช้ลูอา |
แม่แบบ:ISBN/doc/identifier link information
| มีการใช้แม่แบบนี้ใน 6,900+ หน้าและการแก้ไขอาจทำให้เกิดผลกระทบหรือสังเกตเห็นได้ ควรทดสอบการเปลี่ยนแปลงในกระบะทราย หรือหน้าทดสอบ หรือในหน้าย่อยผู้ใช้ของคุณเอง อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปรายก่อนที่จะนำไปใช้ |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it may cause display errors. For example | isbn = {{ISBN|123-456-7890-123}} is incorrect use. |
This template produces a simple, standardized link from a International Standard Book Number (ISBN). The ISBN is rendered using much of the same code that renders |ISBN= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISBNs.
การใช้งาน
[แก้]This template accepts these parameters:
|idn=– a ISBN identifier; the|idn=parameter name is not required but is recommended for clarity when the template has multiple ISBNs|link=– accepts a single valueno; for use when the 'ISBN' prefix in the rendering should not be linked|plainlink=– accepts a single valueyes; suppresses the 'ISBN' prefix in the rendering|leadout=– defines the conjunction between the last two identifiers in the rendered list; defaults to,
The basic form is:
{{ISBN|0-7475-3269-9}}→ ISBN 0-7475-3269-9
For multiple ISBNs:
{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}→ ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1
To unlink the prefix:
{{ISBN|0-7475-3269-9|link=no}}→ ISBN 0-7475-3269-9
To suppress the prefix:
{{ISBN|0-7475-3269-9|plainlink=yes}}→ 0-7475-3269-9
To use and between the last two identifiers in the rendered list:
{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}→ ISBN 978-1-4133-0454-1, 978-1-4133-0454-1 and 978-1-4133-0454-1
When this template emits an error message for a valid (working) ISBN, use the accept-as-written markup ((..)) to suppress the error message.
{{ISBN|1-4133-0451-0}}→ ISBN 1-4133-0451-0{{isbn}}: ตรวจสอบค่าisbn: checksum (help){{ISBN|((1-4133-0451-0))}}→ ISBN 1-4133-0451-0{{isbn}}: ignored ISBN errors (ลิงก์)
Tracking categories
[แก้]- หมวดหมู่:Ignored ISBN errors – maintenance category for
{{ISBN}}templates using the accept-as-written markup((..))to suppress an error message – shared with{{ISBN}} - หมวดหมู่:Pages with ISBN errors – error category for
{{ISBN}}templates that show an error message
Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1_errors § Controlling_error_message_display.
ดูเพิ่ม
[แก้]- Wikipedia:ISBN
- {{SBN}}, similar template for SBNs rather than ISBNs
- {{ISBNT}}, to make an ISBN link without a visible prefix
- {{Listed Invalid ISBN}}, to link an ISBN that is invalid but printed in a source publication.
- {{OCLC}}, to link directly to Worldcat; useful for books with no ISBN.
- {{PMID}}
- {{IETF RFC}}
- {{ISMN}}
- {{ISSN}}
- {{Catalog lookup link}}
- {{ISBN missing}}
Template Data
[แก้]ข้อมูลแม่แบบสำหรับ ISBN
Use this template to create a link (or list of links) to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix
| พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
|---|---|---|---|---|
| ISBN #1 | 1 | first ISBN to put in the list
| สตริง | จำเป็น |
| ISBN #2 | 2 | second ISBN to put in the list
| สตริง | แนะนำ |
| ISBN #3 | 3 | third ISBN to put in the list
| สตริง | ไม่บังคับ |
| ISBN #4 | 4 | fourth ISBN to put in the list
| สตริง | ไม่บังคับ |
| ISBN #5 | 5 | fifth ISBN to put in the list
| สตริง | ไม่บังคับ |
| 6 | 6 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| 7 | 7 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| 8 | 8 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| 9 | 9 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| Suppress link to article? | link | If 'no', does not produce a link before the list
| สตริง | ไม่บังคับ |
| Suppress link to ISBN? | plainlink | If 'yes', does not produce "[[ISBN]]: " before the list
| สตริง | ไม่บังคับ |
| last list joiner text | leadout | Text between second-to-last and last book ISBN's
| สตริง | ไม่บังคับ |