Template:Br separated entries/doc

From SlyMods
Jump to navigation Jump to search

This template is used to create a <br /> delimited collection of items, only adding the <br /> tags where needed.


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

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Br separated entries

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

See also


MediaWiki logo

This template uses material from the MediaWiki template Template:Comma separated entries, which is released under the Creative Commons ShareAlike 4.0 International license (view authors).