ढाँचा:Indented plainlist/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

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[सम्पादन गर्नुहोस्]

Example
First labelSome data
Awards
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
Second labelSome more data
{{Infobox
 |label1    = Some data
 |awards    = {{indented plainlist|ढाँचा:Bg|
* [[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 in articles based on this TemplateData.

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
Stringवैकल्पिक
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;
Stringवैकल्पिक
Indentationin indent

Sets a custom indentation width for the lists' items.

पूर्वनिर्धारित
1em
Stringवैकल्पिक

See also[सम्पादन गर्नुहोस्]