Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Br separated entries/doc: Difference between revisions

Template page
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}}
{{High-risk|630,000+}}
<!-- 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}}
{{stack|{{Lua|Module:Separated entries}}}}


This template is used primarily in infoboxes to create a <code>&lt;br /&gt;</code> delimited collection of items, only adding the <code>&lt;br /&gt;</code> tags where needed.
This template is used primarily in infoboxes to create a <code>&lt;br /&gt;</code> delimited collection of items, only adding the <code>&lt;br /&gt;</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 [[WP:ACCESS|accessibility]].
'''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===
{{TemplateDataHeader}}
<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>
== See also ==
* {{tl|comma separated entries}}
* {{tl|space separated entries}}
* {{tl|plainlist}}
* {{tl|flatlist}}
* {{tl|pagelist}}
* {{tl|unbulleted list}}
* [[Module:separated entries]], the [[Wikipedia:Lua|Lua]] module on which this template is based.


<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 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.

Template parameters

ParameterDescriptionTypeStatus
First item1

First item, may be null

Stringoptional
Second item2

Second item, many more items can be added

Stringoptional