Şablon:Yalın liste/belge
Görünüm
Bu şablon şu TemplateStyles biçemini kullanıyor: |
Usage
[değiştir]{{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
[değiştir]- hanging-indent – indents the list items with a "hanging indent". Option are
1em
or2em
- 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
- Example:
- 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.
- Example:
- class — adds extra CSS classes
Examples
[değiştir]Alternate use
[değiştir]This template is also available in three parts
- {{Yalın liste/s}} (start)
- {{Yalın liste/e}} (end)
- {{Yalın liste/m}} (middle - the hanging indent of the first element is suppressed)
Removes bullets or numbers from a list.
Parametre | Açıklama | Tür | Durum | |
---|---|---|---|---|
1 | 1 | The list,. Should be selected before calling the wizard. | İçerik | önerilen |
hanging-indent | hanging-indent | 'Out-dents' list items when they wrap.
| Dize | isteğe bağlı |
indent | indent | Indents the entire list using a choice of 1 or 2. 1 being 1.6em and 2 being 3.2em.
| Dize | isteğe bağlı |
lead | lead | Adds vertical whitespace at the beginning of list.
| Dize | isteğe bağlı |
style | style | Adds css style options.
| Dize | isteğe bağlı |
Additional info
[değiştir]- 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.