• الصفحة الرئيسية
  • عشوائي
  • أحدث التغييرات
  • الصفحات الخاصة
  • بوابة المجتمع
  • الإعدادات
  • حول إمامةبيديا
  • إخلاء مسؤولية
إمامةبيديا
  • دخول

قالب:Indented plainlist

  • اللغة
  • راقب
  • عرض المصدر
Template documentation[view] [edit] [history] [purge]

This template is very similar to {{plainlist}}, except that it automatically indents parts of long items that are wrapped onto a new line. This makes it easier to tell apart multiple such items when width is limited—e.g. in an {{infobox}}—and eliminates the need for a bulleted list.

{{Indented plainlist}} provides a WCAG-compliant and accessible alternative to <br />-separated lists, per MOS:UBLIST and MOS:PLIST.

محتويات

  • ١ Usage
    • ١.١ Custom indentation
  • ٢ TemplateData
  • ٣ See also

Usage

Example
First labelSome data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second labelSome more data
{{Infobox
 |label1    = Some data
 |awards    = {{indented plainlist|
* [[Royal Geographical Society's Founder's Medal]] (1888)
* [[Knight Commander of the Order of the Bath]] (1896)
* [[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899)
  }}
 |label2    = Some more data
}}

Custom indentation

Example
First labelSome data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second labelSome more data
{{Infobox
 |label1    = Some data
 |awards    = {{indented plainlist|indent=2em|
* [[Royal Geographical Society's Founder's Medal]] (1888)
* [[Knight Commander of the Order of the Bath]] (1896)
* [[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899)
  }}
 |label2    = Some more data
}}

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Indented plainlist

An automatically indented plainlist variant.

وسائط القالب[تحرير بيانات القالب]

وسيطوصفنوعحالة
Content1

If supplied, the list, as a normal bulleted list. Every line should start with an asterisk. No blank lines between lines.

محتوىمطلوب
Classclass

Adds a CSS class to the containing div.

غيابي
The class "plainlist" is always applied.
مثال
nowrap
نصاختياري
Stylestyle

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.

مثال
border:solid 1px silver; background:lightyellow;
نصاختياري
Indentationin indent

Sets a custom indentation width for the lists' items.

غيابي
1em
نصاختياري

See also

  • {{plainlist}}
  • {{unbulleted indent list}}
The above documentation is transcluded from قالب:Indented plainlist/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
مجلوبة من «https://ar.imamatpedia.com/w/index.php?title=قالب:Indented_plainlist&oldid=3939»
آخر تعديل بتاريخ ٢٨ نوفمبر ٢٠٢٢، في ١٦:٣٠

اللغات

      هذه الصفحة غير متوفرة بلغات أخرى.

      إمامةبيديا
      • آخر تعديل لهذه الصفحة كان يوم ٢٨ نوفمبر ٢٠٢٢، الساعة ١٦:٣٠.
      • سياسة الخصوصية
      • حول إمامةبيديا
      • إخلاء مسؤولية
      • سطح المكتب