Template:Br separated entries/doc   

From Appropedia
Jump to: navigation, search
This is a documentation subpage for Template:Br separated entries (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
Shortcut:
Template:br list

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.

For lists of items, without bullets, use {{Unbulleted list}}.

Contents

[edit] Usage

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

[edit] 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| | | }}

[edit] Nesting

For more than three entries, this template can be nested, although excessive nesting is discouraged due to template transclusion depth limits imposed by the server.

Code Result
{{br separated entries|entry1|entry2|{{br separated entries|entry3|entry4|entry5}}}} entry1
entry2
entry3
entry4
entry5
{{br separated entries|entry1|entry2|{{br separated entries|entry3|entry4|}}}} entry1
entry2
entry3
entry4
{{br separated entries|entry1|entry2|{{br separated entries|entry3||entry5}}}} entry1
entry2
entry3
entry5
{{br separated entries|entry1|entry2|{{br separated entries||entry4|entry5}}}} entry1
entry2
entry4
entry5
{{br separated entries|entry1||{{br separated entries|entry3|entry4|entry5}}}} entry1
entry3
entry4
entry5
{{br separated entries||entry2|{{br separated entries|entry3|entry4|entry5}}}} entry2
entry3
entry4
entry5

[edit] See also


Wikipedia
This page or section includes content from Wikipedia. The original article was at Template:Br separated entries. The list of authors can be seen in the history for that page. As with Appropedia, the text of Wikipedia is available under the CC-BY-SA.

Personal tools