Jump to content

Template:Bulleted list

From Elite Dangerous Wiki
Revision as of 16:25, 26 December 2015 by Wikipedia>Frietjes (documentation does this)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Bulleted list/doc" to edit its documentation if it is available. (How does this work?)

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.

Usage

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

Parameters

  • 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

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

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

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}}]]

TemplateData

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[Edit template data]

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

Lua error in Module:Navbox_top_and_bottom at line 21: attempt to call field '_navbox' (a nil value).

Horizontal list
{{horizontal list|item1 |item2 }}
  • item1
  • item2
Horizontal list
{{flat list|
* item1
* item2}}
  • item1
  • item2
Horizontal list
{{comma-separated list|item1 |item2 }}
  • item1
  • item2
Bulleted list
{{bulleted list|item1 |item2 }}
  • item1
  • item2
Numeric ordered list
{{Ordered list|first |second }}
  1. first
  2. second
Alphabetic ordered list
{{Ordered list|list_style_type=lower-alpha |first |second }}
  1. first
  2. second
Unbulleted list
{{unbulleted list|item1 |item2 }}
  • item1
  • item2
Unbulleted list
{{plain list|
* item1
* item2}}
  • item1
  • item2
Glossary or definition list
{{glossary}}
{{term|first term}}
{{defn|first description}}
{{term|second term}}
{{defn|second description}}
{{glossary end}}
first term
first description
second term
second description
Bulleted list to flow around an image
[[File:Bad Title Example.png|left|thumb|100px]]

{{flowing list|
*item1
*item2}}

  • item1
  • item2
Ordered list in columns
{{columns list|colwidth=5em|
# first
# second}}
  1. first
  2. second

Lua error in Module:Navbox_top_and_bottom at line 21: attempt to call field '_navbox' (a nil value).