Pergi ke kandungan

Templat:Bold list/doc

Mantad Wikipedia

Templat: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[simbanai toud]

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

Parameters[simbanai toud]

  • 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[simbanai toud]

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

Templat:Navbox top

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

Templat:Ordered list

Alphabetic ordered list
{{ordered list}}
{{Ordered list|list_style_type=lower-alpha |first |second |...}}

Templat:Ordered list

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

Templat:Glossary Templat:TermTemplat:Defn Templat:TermTemplat:Defn Templat:TermTemplat:Defn Templat:Glossary end

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

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

Templat:Flowlist

Ordered list in columns
{{columns-list}}
{{columns-list|colwidth=5em|
# first
# second
# third
# ...}}
  1. first
  2. second
  3. third
  4. ...

Templat:Navbox bottom