Template:Br separated entries/doc

From Wikibooks, open books for an open world
Jump to: navigation, search

This template is used primarily in infoboxes to create a <br /> delimited collection of items, with up to three entries, only adding the <br /> tags where needed.

Usage[edit]

{{br separated entries|entry1|entry2|entry3}}

Example[edit]

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

See also[edit]