Template:Unbulleted list citebundle

From HandWiki
Revision as of 11:45, 29 July 2023 by imported>Rjjiii (300 px was based on the hard-coded size of the desktop popup. 15em is based on the often used narrow width for short citations. This should be slightly more flexible)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

This template creates unbulleted lists in a fashion equal to Template:Monospace except with an eye towards creating lists in bundled citations, which, if done with the regular template, will look wrong, having an unnecessary line break before the first list item.

Consider this template, Template:Monospace:[1]

    • For the sun's size, see Miller, Edward. The Sun. Academic Press, 2005, p. 1.
    • For the moon's size, see Brown, Rebecca. "Size of the Moon", Scientific American, 51 (78): 46.
    • For the sun's heat, see Smith, John. The Sun's Heat. Academic Press, 2005, p. 2.

Versus Template:Monospace:[1]

    • For the sun's size, see Miller, Edward. The Sun. Academic Press, 2005, p. 1.
    • For the moon's size, see Brown, Rebecca. "Size of the Moon", Scientific American, 51 (78): 46.
    • For the sun's heat, see Smith, John. The Sun's Heat. Academic Press, 2005, p. 2.

TemplateData

Unbulleted list for use in citebundles

Template parameters

ParameterDescriptionTypeStatus
classclass

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

Example
plainlinks
Unknownoptional
stylestyle

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

Example
font-size: 90%;
Unknownoptional
List stylelist_style

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

Unknownoptional
Item styleitem_style

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

Unknownoptional
List item 11

no description

Linerequired
List item 22

no description

Lineoptional
List item 33

no description

Lineoptional
List item 44

no description

Lineoptional
List item 55

no description

Lineoptional
List item 66

no description

Lineoptional
List item 77

no description

Lineoptional
List item 88

no description

Lineoptional
List item 99

no description

Lineoptional
Item 1 styleitem1_style

Custom CSS style for list item 1

Unknownoptional
Item 2 styleitem2_style

Custom CSS style for list item 2

Unknownoptional
Item 3 styleitem3_style

Custom CSS style for list item 3

Unknownoptional
Item 4 styleitem4_style

Custom CSS style for list item 4

Unknownoptional
Item 5 styleitem5_style

Custom CSS style for list item 5

Unknownoptional
Item 6 styleitem6_style

Custom CSS style for list item 6

Unknownoptional
Item 7 styleitem7_style

Custom CSS style for list item 7

Unknownoptional
Item 8 styleitem8_style

Custom CSS style for list item 8

Unknownoptional
Item 9 styleitem9_style

Custom CSS style for list item 9

Unknownoptional

See also

  • {{multiref}}- allows a list of references indenting the later references in line with the first one.
  • {{multiref2}}– allows bundling of references into one reference entry
  • {{r}} - supports a different method to bundle or group multiple sub-references under one reference entry