More actions
Created page with "{{Documentation subpage}} {{High-risk|630,000+}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|br entries|br list}} {{stack|{{Lua|Module:Separated entries}}}} This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, only adding the <code><br /></code> tags where needed. '''Note:''' For lists of items, without bullets, do not use this template, but use {{tl|unb..." |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{wikipedia|page name}} | |||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | ||
{{Template shortcut|br entries|br list}} | {{Template shortcut|br entries|br list}} | ||
This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, only adding the <code><br /></code> tags where needed. | This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, only adding the <code><br /></code> tags where needed. | ||
'''Note:''' For lists of items, without bullets, do not use this template, but use {{tl|unbulleted list}} or {{tl|plainlist}} instead, for better | '''Note:''' For lists of items, without bullets, do not use this template, but use {{tl|unbulleted list}} or {{tl|plainlist}} instead, for better accessibility. | ||
== Usage == | == Usage == | ||
| Line 36: | Line 35: | ||
===Template data=== | ===Template data=== | ||
<templatedata>{ | <templatedata>{ | ||
"description": "Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed. ", | "description": "Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed. ", | ||
| Line 53: | Line 51: | ||
} | } | ||
}}</templatedata> | }}</templatedata> | ||
<includeonly>{{Sandbox other| | <includeonly>{{Sandbox other| | ||
Latest revision as of 07:28, 14 April 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
| This is a documentation subpage for Template:Br separated entries It may contain usage information, categories and other content that is not part of the original template page. |
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
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
| 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
Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| First item | 1 | First item, may be null | String | optional |
| Second item | 2 | Second item, many more items can be added | String | optional |