Skabelon:Br separated entries/doc
Udseende
Dette er dokumentationsundersiden til Skabelon:Br separated entries. Denne side indeholder information om brug, kategorier samt andet indhold, som ikke er en del af den oprindelige skabelonside. |
|
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 {{plainlist}} instead, for better accessibility.
Usage
[rediger kildetekst]{{Props |Født |P1 |P2 |P3 |P4 |P5 |...}}
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
[rediger kildetekst]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
[rediger kildetekst]Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.
Br separated entries
Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed.
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
First item | 1 | First item, may be null | Streng | valgfri |
Second item | 2 | Second item, many more items can be added | Streng | valgfri |
See also
[rediger kildetekst]- {{comma separated entries}}
- {{space separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{multi-column numbered list}}
- {{unbulleted list}}
- Modul:separated entries, the Lua module on which this template is based.