Template:Br separated entries/doc: Difference between revisions
From VNDev Wiki
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, with up to three entries, only adding the <code><br /></code> tags where needed. '''Note:''' For lists of items, without bullets, do not use this template, but use {{tl|plainlist}} instead, for better accessibility. == Usage == :<code><nowi..." |
m Removed broken link to wikipedia reference page |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, with up to three entries, only adding the <code><br /></code> tags where needed. | This template is used primarily in infoboxes to create a <code><br /></code> delimited collection of items, with up to three entries, only adding the <code><br /></code> tags where needed. | ||
'''Note:''' For lists of items, without bullets, do not use this template, but use | '''Note:''' For lists of items, without bullets, do not use this template, but use plainlist instead, for better accessibility. | ||
== Usage == | == Usage == | ||
Line 49: | Line 49: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category: | [[Category:Formatting templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 16:08, 18 June 2022
This is a documentation subpage for Template:Br separated entries. It contains usage information, categories and other content that is not part of the original template page. |
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.
Note: For lists of items, without bullets, do not use this template, but use plainlist instead, for better accessibility.
Usage
{{br separated entries|entry1|entry2|entry3}}
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| | | }} |
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 |