Sjabloon:Br separated entries/doc
Naar navigatie springen
Naar zoeken springen
40px | This is a documentation subpage for Sjabloon:Br separated entries. It contains usage information, categories, interlanguage links and other content that is not part of the original sjabloon page. |
42px | This template uses Module:Br separated entries, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
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
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
Code | Result |
---|---|
{{br separated entries|entry1|entry2|entry3}} |
main}} |
{{br separated entries| |entry2|entry3}} |
main}} |
{{br separated entries|entry1| |entry3}} |
main}} |
{{br separated entries|entry1|entry2| }} |
main}} |
{{br separated entries|entry1| | }} |
main}} |
{{br separated entries| |entry2| }} |
main}} |
{{br separated entries| | |entry3}} |
main}} |
{{br separated entries| | | }} |
main}} |
{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} |
main}} |
Template data
<templatedata>{
"description": "Creates a
delimited collection of items. Primarily for use in infoboxes, it only adds the
tags where needed. ",
"params": {
"1": { "label": "First item", "description": "First item, may be null", "type": "string", "required": false }, "2": { "label": "Second item", "description": "Second item, many more items can be added", "type": "string", "required": false }
}}</templatedata>
See also
- {{comma separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{multi-column numbered list}}
- Module:Br separated entries, the Lua module this template is based on