Şablon:Yalın liste

Şablon belgelemesi Belgeleme

Usage

{{Yalın liste}} starts a plain, or unbulleted, list, such as:

It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />.

Parametreler

  • hanging-indent – indents the list items with a "hanging indent". Option are 1em or 2em
  • indent – indents the entire list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
Example: |indent=2
  • lead — Adds vertical whitespace at the start of a list. (Name is from leading in printing.
  • style – adds CSS style options.
Example: |style=border:solid 1px silver; background:lightyellow
This CSS style adds a solid silver border around the list, 1 pixel thick, and sets the background color of the list to light yellow.
Example: |style=margin-left:2em; text-indent:-2em
This CSS style creates a "hanging indent" style list often seen in the index of a book.
  • class — adds extra CSS classes

Examples

Şablon:Doc example

Şablon:Doc example

Şablon:Doc example

Şablon:Doc example

Alternate use

This template is also available in three parts


Removes bullets or numbers from a list.

Şablon parametreleri[Şablon veriyi değiştir]

ParametreAçıklamaTürDurum
11

The list,. Should be selected before calling the wizard.

İçerikönerilen
hanging-indenthanging-indent

'Out-dents' list items when they wrap.

Varsayılan
0
Örnek
1em or 2em
Dizeisteğe bağlı
indentindent

Indents the entire list using a choice of 1 or 2. 1 being 1.6em and 2 being 3.2em.

Örnek
2
Dizeisteğe bağlı
leadlead

Adds vertical whitespace at the beginning of list.

Örnek
1.5em
Dizeisteğe bağlı
stylestyle

Adds css style options.

Örnek
border:solid 1px silver; background:lightyellow
Dizeisteğe bağlı
 

Additional info

  • To be recognized, paragraphs are preceded by the asterisk.
  • {{Yalın liste/m}} requires the first paragraph at the top of page to be preceded by <noinclude>*</noinclude>.
  • Hyphenated words do not use the {{hws}} and {{hwe}} templates, or hyphens. The words are joined seamlessly.