Jump to content
Wikipedia The Free Encyclopedia

Template:Bold list

From Wikipedia, the free encyclopedia

A, B, or C

Template documentation[view] [edit] [history] [purge]
This template uses Lua:
This template may be substituted .

This template can be used to create lists with bolded items, separated by unbolded commas and a conjunction. For example: {{Bold list|apple|banana|cucumber|durian}} produces apple, banana, cucumber, or durian. This may be useful in article leads, where alternate names are often stated in bold, and saves editors from having to manually bold and unbold.

Usage

[edit ]

{{Bold list |conj=and (optional) |item1 |item2 |item3 |...}}

Parameters

[edit ]
  • Positional parameters (1, 2, 3...) – the list items.
  • conj – allows a custom conjunction to be used (e.g. "and", "and/or" instead of the default "or")

Examples

[edit ]
  • {{Bold list|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z}} produces a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, or z
  • {{Bold list|conj=and|hardy hibiscus|rose of sharon|tropical hibiscus}} produces hardy hibiscus, rose of sharon, and tropical hibiscus
HTML lists
Horizontal list
{{hlist }}
{{hlist|item1 |item2 |...}}
  • item1
  • item2
  • ...
Horizontal list
{{flatlist }}
{{flatlist|
* item1
* item2
* ...}}
  • item1
  • item2
  • ...
Horizontal list
{{cslist }}
{{cslist|item1 |item2 |...}}
  • item1
  • item2
  • ...
{{bold list }}
{{bold list|item1 |item2 |...}}

item1 , item2 , or ...

Bulleted list
{{bulleted list }}
{{bulleted list|item1 |item2 |...}}
  • item1
  • item2
  • ...
Numeric ordered list
{{ordered list }}
{{Ordered list|first |second |...}}
  1. first
  2. second
  3. ...
Alphabetic ordered list
{{ordered list }}
{{Ordered list|list_style_type=lower-alpha |first |second |...}}
  1. first
  2. second
  3. ...
Unbulleted list
{{unbulleted list }}
{{unbulleted list|item1 |item2 |...}}
  • item1
  • item2
  • ...
Unbulleted list
{{plainlist }}
{{plainlist|
* item1
* item2
* ...}}
  • item1
  • item2
  • ...
Glossary or definition list
{{glossary }}
(glossary, description, definition, association)
{{glossary}}

{{term|first term}}{{defn|first description}}
{{term|second term}}{{defn|second description}}
{{term|...}}{{defn|....}}
{{glossary end }}

first term
first description
second term
second description
...
....
Bulleted list to flow around an image
{{flowlist }}
[[File:Bad Title Example.png|left|thumb|100px]]

{{flowlist|
*item1
*item2
*...}}

  • item1
  • item2
  • ...
Ordered list in columns
{{columns-list }}
{{columns-list|colwidth=5em|
# first
# second
# third
# ...}}
  1. first
  2. second
  3. third
  4. ...
The above documentation is transcluded from Template:Bold list/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /