• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Unbulleted indent list

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Shortcuts
  • {{ubil}}
  • {{ubli}}
File:Lua-Logo.svgThis template uses Lua:
  • Module:List

This template is very similar to {{unbulleted list}}, except that it automatically indents parts of long items that are wrapped onto a new line. This makes it easier to tell apart multiple such items when width is limited—e.g. in an {{infobox}}—and eliminates the need for a bulleted list.

{{Unbulleted indent list}} provides a WCAG-compliant and accessible alternative to <br />-separated lists, per MOS:UBLIST and MOS:PLIST.

Contents

  • 1 Usage
    • 1.1 Custom indentation
  • 2 TemplateData
  • 3 See also

Usage

Example
First labelSome data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second labelSome more data
{{Infobox
 |label1    = Some data
 |awards    = {{unbulleted indent list
   |[[Royal Geographical Society's Founder's Medal]] (1888)
   |[[Knight Commander of the Order of the Bath]] (1896)
   |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899)
  }}
 |label2    = Some more data
}}

Custom indentation

Example
First labelSome data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second labelSome more data
{{Infobox
 |label1    = Some data
 |awards    = {{unbulleted indent list|indent=2em
   |[[Royal Geographical Society's Founder's Medal]] (1888)
   |[[Knight Commander of the Order of the Bath]] (1896)
   |[[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899)
  }}
 |label2    = Some more data
}}

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Unbulleted indent list

An automatically indented unbulleted list variant.

Template parameters

ParameterDescriptionTypeStatus
Content1

Every line should start with a pipe character.

Contentrequired
Classclass

Adds a CSS class to the containing div.

Default
The class "plainlist" is always applied.
Example
nowrap
Stringoptional
Stylestyle

Adds CSS style options. Complex styles should not be used in articles—per [[WP:Deviations]]—but may be acceptable on user, project, and talk pages.

Example
border:solid 1px silver; background:lightyellow;
Stringoptional
Indentationin indent

Sets a custom indentation width for the lists' items.

Default
1em
Stringoptional

See also

  • {{unbulleted list}}
  • {{indented plainlist}}
The above documentation is transcluded from Template:Unbulleted indent 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://moasspedia.org/w/index.php?title=Template:Unbulleted_indent_list&oldid=34434"
Categories:
  • Pages with broken file links
  • Lua-based templates
  • Templates using TemplateData
  • List formatting and function templates
  • Semantic markup templates
  • Typing-aid templates
Last edited on 23 March 2022, at 12:59

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 23 March 2022, at 12:59.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop