Template:Bulleted list/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template may be used to generate a bulleted list directly using HTML's <ul>...</ul> and <li>...</li> list elements. A typical application is within captions, where the equivalent wiki markup (asterisks at the starts of new lines) may be awkward or impossible to use.

{{bulleted list |item1 |item2 |...}}

Parameters

[edit source]
  • Positional parameters (1, 2, 3...) – these are the list items. If no list items are present, the module will output nothing.
  • class – a custom class for the <div>...</div> tags surrounding the list, e.g. plainlinks.
  • style – a custom css style for the <div>...</div> tags surrounding the list, e.g. font-size: 90%;.
  • list_style – a custom css style for the list itself. The format is the same as for the |style= parameter.
  • item_style – a custom css style for all of the list items (the <li>...</li> tags). The format is the same as for the |style= parameter.
  • item1_style, item2_style, item3_style... – custom css styles for each of the list items. The format is the same as for the |style= parameter.

Examples

[edit source]
  • one
  • two
  • three
[[File:Example.png|thumb|100px|{{bulleted list |one |two |three}}]]

Alternative to avoid Wikipedia's Post-expand include size limit

[edit source]

Using bulleted list templates, especially if there are other templates or citations within the list, can cause pages to come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using the list module directly instead:

  • one
  • two
  • three
[[File:Example.png|thumb|100px|{{#invoke:list |bulleted |one |two |three}}]]

See also

[edit source]

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Bulleted list in articles based on its TemplateData.

TemplateData for Bulleted list


This template may be used to generate a bulleted list directly using HTML's <ul> and <li> list elements.

Template parameters

ParameterDescriptionTypeStatus
11

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
22

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
33

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
44

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
55

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
66

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
77

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
88

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
99

Bulleted entry/item. You can add more manually via Source Edit.

Contentsuggested
Classclass

a custom class for the <div> tags surrounding the list.

Example
plainlinks
Lineoptional
Stylestyle

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

Example
font-size: 90%;
Lineoptional
List stylelist_style list style l style ul style ulstyle lstyle

a custom CSS style for the list itself. The format is the same as for the |style parameter.

Lineoptional
Item styleitem_style item style li style i style istyle

a custom CSS style for all of the list items (the <li> tags). The format is the same as for the |style parameter.

Lineoptional