Template:Multiref2/doc
| This is a documentation subpage for Template:Multiref2. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template creates an unbulleted list for bundled citations. It is a wrapper for {{unbulleted list}} that adds white space between each bundled reference. 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]. 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]. 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]. Academic Press. p. 2.
Usage
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.
Example
| Markup | Renders as |
|---|---|
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]
|
Template data
This template can be used to add a list of references inside a single inline citation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | First reference | String | required |
| 2 | 2 | Second reference | String | required |
| 3 | 3 | Third reference | String | suggested |
| 4 | 4 | Fourth reference | String | suggested |
| 5 | 5 | Fifth reference | String | suggested |
| 6 | 6 | Sixth reference | String | suggested |
| 7 | 7 | Seventh reference | String | suggested |
| 8 | 8 | Eighth reference | String | suggested |
| 9 | 9 | Ninth reference | String | suggested |
| 10 | 10 | Tenth reference | String | suggested |
See also
- Template:Sfnm – creates a series of shortened footnotes separated by semicolons
- Template:Sfnmp – creates a series of shortened footnotes separated by semicolons, with dates in parentheses
- Template:Unbulleted list citebundle (Shortcut: {{multiref}}) – citations are indented in an unbulleted list
- Template:Multiref2 – citations are separated with additional white space, in an unbulleted list without indentation
The {{harvnb}} and {{r}} or other similar templates can be manually bundled in a single footnote
General templates that create lists not necessarily designed for references or footnotes can be found at Category:List formatting and function templates.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.