• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Br separated entries/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Br separated entries
This is the template sandbox page for Template:Br separated entries (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on 1,730,000+ pages, or roughly 3% of all pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
Shortcuts
  • {{br entriesTemplate:Br entries}}
  • {{br listTemplate:Br list}}
This template uses Lua:
  • Module:Separated entries (sandbox)

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.

Contents

  • 1 Usage
  • 2 Example
    • 2.1 Template data
  • 3 See also

Usage

edit
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}

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| | | }}
{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} entry1
entry2
entry3
entry4
entry5
entry6

Template data

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Br separated entries in articles based on its TemplateData.

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[Edit template data]

ParameterDescriptionTypeStatus
First item1

First item, may be null

Stringoptional
Second item2

Second item, many more items can be added

Stringoptional

See also

edit
  • {{comma separated entries}}
  • {{space separated entries}}
  • {{plainlist}}
  • {{flatlist}}
  • {{pagelist}}
  • {{unbulleted list}}
  • Module:separated entries, the Lua module on which this template is based.
The above documentation is transcluded from Template:Br separated entries/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Br_separated_entries/sandbox&oldid=672800345"
Last edited on 23 July 2015, at 23:21

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 23 July 2015, at 23:21 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop