Advertisement

Plainlist

Template Documentation
view | edit | refresh (Note: the template above may sometimes be partially or fully invisible.)
List of pages using this template
WikipediaLogo.png This page uses Creative Commons Licensed content from Wikipedia (view authors).
Description

This template is used to starts a plain, or unbulleted, list, such as:

  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig

It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />.

This template can be used with or without {{endplainlist}}.

Dependencies

{{Plainlist}} works by constructing a div with the CSS class "plainlist" which has the following style:

.plainlist ul {line-height:inherit; list-style:none none; margin:0}
.plainlist ul li {margin-bottom:0}
Syntax
{{Plainlist |
* cat
* dog
* horse
* cow
* sheep
* pig
}}
  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig
Alternative syntax
{{Plainlist}}
* cat
* dog
* horse
* cow
* sheep
* pig
{{endplainlist}}
  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig
Parameters
  • class – adds a CSS class to the containing div.
  • style – 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: Template:Para
  • indent – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
Example: Template:Para
See also


Community content is available under CC-BY-SA unless otherwise noted.