• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Bulleted list

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:Unordered list)
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 234,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:List (sandbox)
Shortcuts
  • {{blistTemplate:Blist}}
  • {{bulletedTemplate:Bulleted}}
  • {{ulistTemplate:Ulist}}
  • {{unordered listTemplate:Unordered list}}

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.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Examples
  • 4 See also

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

See also

  • v
  • t
  • e
HTML lists
More information —
  • Help:List
  • WP:List dos and don'ts
  • WP:Manual of Style/Embedded lists
  • WP:Manual of Style/Accessibility § Lists
  • WP:WikiProject Lists
Horizontal list
{{hlist|item1 |item2 }}
  • item1
  • item2
Horizontal list
{{flatlist|
* item1
* item2}}
  • item1
  • item2
Horizontal list
{{cslist|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
{{plainlist|
* 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]]

{{flowlist|
*item1
*item2}}

  • item1
  • item2
Ordered list in columns
{{columns-list|colwidth=5em|
# first
# second}}
  1. first
  2. second
Category:List formatting and function templates

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
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
The above documentation is transcluded from Template:Bulleted list/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Bulleted_list&oldid=696877703"
Last edited on 26 December 2015, at 16:25

Languages

    • Afrikaans
    • العربية
    • অসমীয়া
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • भोजपुरी
    • Български
    • Bosanski
    • Буряад
    • Català
    • Чӑвашла
    • Cebuano
    • Čeština
    • Corsu
    • Dagbanli
    • Dansk
    • الدارجة
    • Eesti
    • Ελληνικά
    • Español
    • Euskara
    • فارسی
    • Føroyskt
    • Français
    • Gaelg
    • Galego
    • ગુજરાતી
    • गोंयची कोंकणी / Gõychi Konknni
    • 한국어
    • Հայերեն
    • हिन्दी
    • Hrvatski
    • Ilokano
    • Bahasa Indonesia
    • עברית
    • ಕನ್ನಡ
    • ქართული
    • Kernowek
    • Kiswahili
    • Kurdî
    • Ladin
    • Latviešu
    • Magyar
    • मैथिली
    • Македонски
    • മലയാളം
    • मराठी
    • مصرى
    • Bahasa Melayu
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Монгол
    • မြန်မာဘာသာ
    • Nederlands
    • नेपाली
    • 日本語
    • Norsk bokmål
    • ଓଡ଼ିଆ
    • Oʻzbekcha / ўзбекча
    • ਪੰਜਾਬੀ
    • ပအိုဝ်ႏဘာႏသာႏ
    • پښتو
    • ភាសាខ្មែរ
    • Português
    • Română
    • Русский
    • Scots
    • Shqip
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenčina
    • Slovenščina
    • کوردی
    • Српски / srpski
    • Srpskohrvatski / српскохрватски
    • Sunda
    • Suomi
    • Svenska
    • Tagalog
    • தமிழ்
    • Taclḥit
    • Татарча / tatarça
    • တႆး
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    • Batak Mandailing
    • Kumoring
    • ꠍꠤꠟꠐꠤ
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 26 December 2015, at 16:25 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop