Template:Plainlist: Difference between revisions

From Campaigns
Jump to navigation Jump to search
actually correct, needed when |1= not present ({{Endplainlist}})
 
ok, guess I have to do it like that
Line 1: Line 1:
<div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
<templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}">{{#if:{{{1|}}}|
{{{1}}}
{{{1}}}
</div>}}<noinclude></div>
</div>}}<noinclude></div>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 19:46, 12 May 2021

Template documentation

Lua error: callParserFunction: function "#translation" was not found. This template provides a WCAG/ISO-standards-compliant accessible alternative to ‎<br /> separated lists, which should not be used.

Usage

starts a plain (i.e. unbulleted) list. It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with ‎<br />. Detailed reasons for using this template can be found at en:WP:UBLIST.

TemplateData

Used to create plain (i.e. unbulleted) lists.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Extra Classesclass

Extra class names to add to the `class` attribute.

Stringoptional
Content1

The list to wrap.

Contentsuggested

See also