Template:Plainlist/doc

This template provides a WCAG/ISO-standards-compliant accessible alternative to  separated lists.

Usage
plainlist starts a plain (i.e. 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.

This template can be used with or without endplainlist.

Examples
cat

dog

horse

llama


 * cat
 * dog
 * horse
 * llama

Technical details
Plainlist works by constructing a div with the CSS class "plainlist" which has the following style (see MediaWiki:Common.css):

Credits
This template's code and documentation were taken from the English Wikipedia.

TemplateData
{	"params": { "1": {			"label": "List content", "description": "If supplied, the list, as a normal bulleted list. (Every line should start with an asterisk. No blank lines between lines.)", "type": "content", "suggested": true },		"class": { "label": "CSS classes", "description": "Adds a CSS class to the containing div.", "type": "string", "default": "The class \"plainlist\" is always applied." },		"style": { "label": "Custom CSS", "description": "Adds CSS style options.", "example": "border:solid 1px silver; background:lightyellow" },		"indent": { "label": "Indent level", "description": "Indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.", "type": "number", "example": "2" }	},	"description": "This template provides a WCAG/ISO-standards-compliant accessible alternative to &lt;br /&gt; separated lists. It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with &lt;br /&gt;." }