Format:Br separated entries/doc
Aspect
Format:Mbox Format:High-risk Format:Template shortcut Format:Stack
This template is used primarily in infoboxes to create a <br /> delimited collection of items, only adding the <br /> tags where needed.
Note: For lists of items, without bullets, do not use this template, but use {{unbulleted list}} or {{plainlist}} instead, for better accessibility.
Usage
[modificare sursă]{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
[modificare sursă]| Code | Result |
|---|---|
{{br separated entries|entry1|entry2|entry3}} | entry1 entry2 entry3 |
{{br separated entries| |entry2|entry3}} | entry2 entry3 |
{{br separated entries|entry1| |entry3}} | entry1 entry3 |
{{br separated entries|entry1|entry2| }} | entry1 entry2 |
{{br separated entries|entry1| | }} | entry1 |
{{br separated entries| |entry2| }} | entry2 |
{{br separated entries| | |entry3}} | entry3 |
{{br separated entries| | | }} | |
{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} | entry1 entry2 entry3 entry4 entry5 entry6 |
Template data
[modificare sursă]Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed.
| Parametru | Descriere | Tip | Stare | |
|---|---|---|---|---|
| First item | 1 | First item, may be null | Șir | opțional |
| Second item | 2 | Second item, many more items can be added | Șir | opțional |
See also
[modificare sursă]- {{comma separated entries}}
- {{space separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{unbulleted list}}
- Module:separated entries, the Lua module on which this template is based.