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

แม่แบบ:Multiref2/doc

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

This template creates an unbulleted list for bundled citations. It is a wrapper for {{unbulleted list}} that places a standard white space between each line. This template or {{multiref}} is recommended over HTML line breaks which cause accessibility issues. The standard {{unbulleted list}} template for body text will disrupt white space within references. It causes an unnecessary line break before the first list item. See below for comparisons:

Bundled citation with {{multiref2}}: [1]

    • For the sun's size, see Miller, Edward (2005). The Sun. Academic Press. p. 1..
    • For the moon's size, see Brown, Rebecca (2007). "Size of the Moon". Scientific American. 51 (78): 46..
    • For the sun's heat, see Yamada, Hanako [山田花子] (2005). Taiyō no netsu 太陽の熱 [The Sun's Heat]. Gakujutsu shuppansha (学術出版社) [Academic Press]. p. 2.

Bundled citation with {{multiref}}:[1]

    • For the sun's size, see Miller, Edward (2005). The Sun. Academic Press. p. 1..
    • For the moon's size, see Brown, Rebecca (2007). "Size of the Moon". Scientific American. 51 (78): 46..
    • For the sun's heat, see Yamada, Hanako [山田花子] (2005). Taiyō no netsu 太陽の熱 [The Sun's Heat]. Gakujutsu shuppansha (学術出版社) [Academic Press]. p. 2.

Versus incorrect rendering with {{unbulleted list}}:[1]

    • For the sun's size, see Miller, Edward (2005). The Sun. Academic Press. p. 1..
    • For the moon's size, see Brown, Rebecca (2007). "Size of the Moon". Scientific American. 51 (78): 46..
    • For the sun's heat, see Yamada, Hanako [山田花子] (2005). Taiyō no netsu 太陽の熱 [The Sun's Heat]. Gakujutsu shuppansha (学術出版社) [Academic Press]. p. 2.


การใช้งาน

[แก้]

This template can be used to add a list of references inside a single inline citation. All parameters are unnamed. You can format the list like the example below for readability.

ตัวอย่าง

[แก้]
มาร์กอัป แสดงผลเป็น
Text<ref>{{multiref2
|1={{cite web |url=https://www.example.com |title=Example 1 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|2={{cite web |url=https://www.example.com |title=Example 2 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|3={{cite web |url=https://www.example.com |title=Example 3 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|4={{cite web |url=https://www.example.com |title=Example 4 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|5={{cite web |url=https://www.example.com |title=Example 5 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|6={{cite web |url=https://www.example.com |title=Example 6 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|7={{cite web |url=https://www.example.com |title=Example 7 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|8={{cite web |url=https://www.example.com |title=Example 8 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|9={{cite web |url=https://www.example.com |title=Example 9 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
|10={{cite web |url=https://www.example.com |title=Example 10 |website=example.com |last=Smith |first=John |access-date=15 January 2001 |publisher=Some Publishers, Inc.}}
}}</ref>

Text[1]

    • Smith, John. "Example 1". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 2". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 3". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 4". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 5". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 6". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 7". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 8". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 9". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.
    • Smith, John. "Example 10". example.com. Some Publishers, Inc. สืบค้นเมื่อ 15 January 2001.

ข้อมูลแม่แบบ

[แก้]

This template can be used to add a list of references inside a single inline citation.

พารามิเตอร์แม่แบบ

This template prefers block formatting of parameters.

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

First reference

สตริงจำเป็น
22

Second reference

สตริงจำเป็น
33

Third reference

สตริงแนะนำ
44

Fourth reference

สตริงแนะนำ
55

Fifth reference

สตริงแนะนำ
66

Sixth reference

สตริงแนะนำ
77

Seventh reference

สตริงแนะนำ
88

Eighth reference

สตริงแนะนำ
99

Ninth reference

สตริงแนะนำ
1010

Tenth reference

สตริงแนะนำ

ดูเพิ่ม

[แก้]
  • {{multiref}} / {{unbulleted list citebundle}} – also creates a list of references but indents all citations in line with the first
  • {{r}} – supports a different method to bundle or group multiple sub-references under one reference entry