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
No edit summary
No edit summary
Line 4: Line 4:
<!-- 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.
Line 53: Line 52:
   }
   }
}}</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|

Revision as of 09:33, 9 April 2025

This page uses Creative Commons Licensed content from Wikipedia (view authors).

Template:High-risk

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