قالب:Endplainlist

من أخبار المعرفة
[edit] Template-info.svg Template documentation

This template provides a WCAG/ISO-standards-compliant accessible alternative to <br /> separated lists, per WP:UBLIST and WP:PLIST

Usage

{{plainlist}} starts a plain (i.e. unbulleted) list, such as:

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 WP:UBLIST.

This template can be used with or without {{endplainlist}}. It is an alternative to {{unbulleted list}}, which performs the same function in a more concise but less wiki-style manner. Note that {{unbulleted list}} will work inside image captions, whereas {{plainlist}} does not.

Examples

Markup Renders asخطأ: لا توجد وحدة بهذا الاسم "For loop".

Alternative syntax

Markup Renders asخطأ: لا توجد وحدة بهذا الاسم "For loop".

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Endplainlist

خطأ: لا توجد وحدة بهذا الاسم "Check for unknown parameters".خطأ: لا توجد وحدة بهذا الاسم "Format TemplateData".

Controlling line-breaking

Template {{nbsp}} may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists, to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.

Technical details

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

.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}
Wikitext Expanded template HTML
{{Plainlist|
* Example 1
* Example 2
* Example 3
}}
خطأ: لا توجد وحدة بهذا الاسم "LuaCall".
<div class="plainlist">
<ul>
<li>Example 1</li>
<li>Example 2</li>
<li>Example 3</li>
</ul>
</div>

Redirects

See also

  • {{unbulleted list}} – essentially the same but uses | ... | ... | ... instead of |* ... * ... * ...
  • {{flatlist}} and {{hlist}} (replacements for comma- or dash-separated lists)
  • {{bulleted list}}
  • {{Indented plainlist}}
  • {{ordered list}}
  • خطأ: لا توجد وحدة بهذا الاسم "Section link". for more information on creating lists within the Infobox family of templates, with examples in the following خطأ: لا توجد وحدة بهذا الاسم "Section link".

خطأ: لا توجد وحدة بهذا الاسم "navbox top and bottom".

Flat
{{hlist}}
{{hlist |item1 |item2 |......}}

خطأ: لا توجد وحدة بهذا الاسم "list".

{{flatlist}}
{{flatlist|
* item1
* item2
* ...}}

  • item1
  • item2
  • ...
{{cslist}}
{{cslist |item1 |item2 |......}}

خطأ: لا توجد وحدة بهذا الاسم "Cslist".

Bulleted and Ordered
{{bulleted list}}
{{bulleted list |item1 |item2 |......}}

خطأ: لا توجد وحدة بهذا الاسم "list".

{{ordered list}}
{{Ordered list |list_style_type=lower-alpha |first |second ...}}

خطأ: لا توجد وحدة بهذا الاسم "list".

Unbulleted
{{unbulleted list}}
{{unbulleted list |item1 |item2 |......}}

خطأ: لا توجد وحدة بهذا الاسم "list".

{{plainlist}}
{{plainlist|
* item1
* item2
* ...}}

  • item1
  • item2
  • ...
{{glossary}}
(glossary, description, definition, association)
{{glossary}}

{{term|first term}} {{defn|first description}}
خطأ: لا توجد وحدة بهذا الاسم "Template link general". خطأ: لا توجد وحدة بهذا الاسم "Template link general".
خطأ: لا توجد وحدة بهذا الاسم "Template link general". خطأ: لا توجد وحدة بهذا الاسم "Template link general".
{{glossary end}}


<dt class="glossary " id="خطأ: لا توجد وحدة بهذا الاسم "delink"." style="margin-top: 0.4em;">first term
first description
<dt class="glossary " id="خطأ: لا توجد وحدة بهذا الاسم "delink"." style="margin-top: 0.4em;">second term
second description
<dt class="glossary " id="خطأ: لا توجد وحدة بهذا الاسم "delink"." style="margin-top: 0.4em;">...
....
Other
{{flowlist}}
[[File:Bad Title Example.png|left|thumb|100px]]

{{flowlist|
*item1
*item2
*...}}


Bad Title Example.png
  • item1
  • item2
  • ...
{{columns-list}}
{{columns-list|colwidth=5em|
# first
# second
# third
# ...}}

خطأ: لا توجد وحدة بهذا الاسم "Template wrapper".خطأ: لا توجد وحدة بهذا الاسم "Check for unknown parameters".

{{colored list}}
{{colored list |item1 |item2 |item3 ...}}

خطأ: لا توجد وحدة بهذا الاسم "Colored list".

خطأ: لا توجد وحدة بهذا الاسم "navbox top and bottom".