Jump to content

Template:Plainlist

From Book of Avalikin
Revision as of 13:24, 13 May 2025 by Tholin (talk | contribs) (Created page with "<templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}" {{safesubst<noinclude />:#if:{{{style|}}}{{{indent|}}}|style="{{safesubst<noinclude />:#if:{{{indent|}}}|margin-left: {{safesubst<noinclude />:#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{safesubst<noinclude />:#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> [https://en.wikipedia.org/w/index.php?title=Template:Plainlist Source] <templatedata> { "params": { "1": { "label": "List conte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
List content1

If supplied, the list, as a normal bulleted list. (Every line should start with an asterisk. No blank lines between lines.) See template page for how this works otherwise.

Contentsuggested
CSS classesclass

Adds a CSS class to the containing div.

Stringoptional
Custom CSSstyle

Adds CSS style options. Complex styles should not be used in articles.

Stringoptional
Indent levelindent

Indents the list by a number of standard indents (one indent being 1.6 em), particularly handy for inclusion in an indented discussion thread.

Numberoptional