Modèle:Br separated entries

De TI-Planet Wiki
Aller à la navigation Aller à la recherche
La version imprimable n’est plus prise en charge et peut comporter des erreurs de génération. Veuillez mettre à jour les signets de votre navigateur et utiliser à la place la fonction d’impression par défaut de celui-ci.
[edit] [history] [purge] Documentation icon Template documentation
Shortcut:

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

See also

bn:টেমপ্লেট:Br separated entries fa:الگو:Br separated entries gan:Template:Br separated entries ja:Template:Br separated entries ka:თარგი:Br separated entries ko:Br 분리 기입 tr:Şablon:Br separated entries ur:Template:Br separated entries zh:Template:Br separated entries