پرش به محتوا

شابلون:Unbulleted list citebundle/doc

ویکی‌پدیا، آزادِ دانشنومه، جه

This template creates an unbulleted list for bundled citations. It works with shortened footnotes, full citations, and general notes. The standard {{unbulleted list}} template will disrupt white space within references. It causes an unnecessary line break before the first list item. See below for comparisons:

Bundled citation with {{unbulleted list citebundle}}: [۱]

    • 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}}:[۱]

    • 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.

If any of the unnamed parameters contain an equal sign (=) in their text (not in their use of parameters in other templates), the parameter must be named in the usual way, {{Unbulleted list citebundle|1=}}. E.g. {{Unbulleted list citebundle|[https://www.naxos.com/CatalogueDetail/?id=SWR19026CD "''Festliche Arien – Fritz Wunderlich''"], [[Naxos Records]] SWR19026CD}} will produce no output. But {{Unbulleted list citebundle|1=[https://www.naxos.com/CatalogueDetail/?id=SWR19026CD "''Festliche Arien – Fritz Wunderlich''"], [[Naxos Records]] SWR19026CD}} works as expected:


With "cite" templates

[دچی‌ین]

The wiki text for the initial example above uses {{cite xxx}} templates for the footnotes:

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>Body text.<ref>
{{Unbulleted list citebundle | For the sun's size, see {{cite book | last=Miller | first=Edward | title=The Sun | publisher=Academic Press | year=2005 | page=1 | ref=none}}
 | For the moon's size, see {{cite journal | last=Brown | first=Rebecca | title=Size of the Moon | journal=Scientific American | volume=51 | issue=78 | year=2007 | page=46 | ref=none}}
 | For the sun's heat, see {{cite book | author1-mask={{translit | ja | italic=no | Hepburn | Yamada, Hanako}} [{{lang | ja | 山田花子}}] | last=山田 | first=花子 | script-title=ja:太陽の熱 | title={{translit | ja | Hepburn | Taiyō no netsu}} | trans-title=The Sun's Heat | publisher={{translit | ja | Hepburn | Gakujutsu shuppansha}} ({{lang | ja | 学術出版社}}) [Academic Press] | year=2005 | page=2 | ref=none}} }}</ref>
{{reflist}}
</syntaxhighlight >

Body text.[۱]

    • 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.


Multiref and shortened footnotes

[دچی‌ین]

The template can also be called as {{multiref}} for easier typing. The example below uses shortened footnotes.

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>
Text.<ref>{{multiref|Smith, p. 2|Jones, p. 105|Singh, p. 93|Lee ''et al.'', p. 22|Smith & Jones, p. 591}}</ref>{{reflist}}</syntaxhighlight >
Text.[۱]
    • Smith, p. 2
    • Jones, p. 105
    • Singh, p. 93
    • Lee et al., p. 22
    • Smith & Jones, p. 591


With "harv" templates

[دچی‌ین]

Harvard-style templates create short citations that link to full citations. This template can be used to bundle short citations created by {{harvnb}}, {{harvtxt}}, and others.

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>Text.<ref> {{Unbulleted list citebundle| {{harvnb|山田|2005|p=2}} | {{harvnb|Brown|2007|p=105}} | {{harvnb|Miller|2005|p=93}} }}</ref>{{reflist}}
</syntaxhighlight >
Text.[۱]

Example references for the linked footnotes above:

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


One source citing another

[دچی‌ین]

This is where the editor cannot, or has not, accessed the source verifying the claim, but instead has cited a second source providing a quote from the first source. Using this template makes it clear that there are two relevant items in the bibliography.

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>Text.<ref>{{multiref|Smith, p. 2 citing|Jones, p. 105}}</ref>{{reflist}}
</syntaxhighlight >
Text.[۱]
    • Smith, p. 2 citing
    • Jones, p. 105


Explanatory notes

[دچی‌ین]

One possible reason for adding an explanatory note is to make it clear that the citation leads to an example of the claimed fact, not to verification of the claim itself which may be in a later cite.

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>There are many breeds of cat found in Venezuela,<ref>{{multiref|For example,|Moggie, p. 2|Tom, p. 95}}</ref> particular in the cities.<ref>Smith, p. 32</ref>{{reflist}}
</syntaxhighlight >
There are many breeds of cat found in Venezuela,[۱] particular in the cities.[۲]
    • For example,
    • Moggie, p. 2
    • Tom, p. 95
  1. Smith, p. 32


Explanatory note with a single citation:

MarkupRenders as
<syntaxhighlight lang="wikitext" inline>There are many breeds of cat found in Venezuela,<ref>{{multiref|One example,|Moggie, p. 2}}</ref> particular in the cities.<ref>Smith, p. 32</ref>{{reflist}}
</syntaxhighlight >
There are many breeds of cat found in Venezuela,[۱] particular in the cities.[۲]
    • One example,
    • Moggie, p. 2
  1. Smith, p. 32

Known problems

[دچی‌ین]

The template works, in part, by suppressing line breaks in the specified references. This works poorly if the page is sufficiently short that the references collide with an infobox or picture. In those cases, use one of the {{clear}} variants or {{multiref2}}.

TemplateData

[دچی‌ین]

Unbulleted list for use in bundled citations (WP:CITEBUNDLE).

پارامترهای الگو

پارامترتوضیحاتنوعوضعیت
classclass

A custom class for the <div>...</div> tags surrounding the list

مثال
plainlinks
ناشناختهاختیاری
stylestyle

A custom CSS style for the <div>...</div> tags surrounding the list

مثال
font-size: 90%;
ناشناختهاختیاری
List stylelist_style

A custom CSS style for the <ul>...</ul> tags around the list

ناشناختهاختیاری
Item styleitem_style

A custom CSS style for all of the list items (the <li>...</li> tags)

ناشناختهاختیاری
List item 11

بدون توصیف

خطضروری
List item 22

بدون توصیف

خطپیشنهادشده
List item 33

بدون توصیف

خطاختیاری
List item 44

بدون توصیف

خطاختیاری
List item 55

بدون توصیف

خطاختیاری
List item 66

بدون توصیف

خطاختیاری
List item 77

بدون توصیف

خطاختیاری
List item 88

بدون توصیف

خطاختیاری
List item 99

بدون توصیف

خطاختیاری
Item 1 styleitem1_style

Custom CSS style for list item 1

ناشناختهاختیاری
Item 2 styleitem2_style

Custom CSS style for list item 2

ناشناختهاختیاری
Item 3 styleitem3_style

Custom CSS style for list item 3

ناشناختهاختیاری
Item 4 styleitem4_style

Custom CSS style for list item 4

ناشناختهاختیاری
Item 5 styleitem5_style

Custom CSS style for list item 5

ناشناختهاختیاری
Item 6 styleitem6_style

Custom CSS style for list item 6

ناشناختهاختیاری
Item 7 styleitem7_style

Custom CSS style for list item 7

ناشناختهاختیاری
Item 8 styleitem8_style

Custom CSS style for list item 8

ناشناختهاختیاری
Item 9 styleitem9_style

Custom CSS style for list item 9

ناشناختهاختیاری

See also

[دچی‌ین]

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.