Jump to content

Template:Brace/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Alquantor (talk | contribs) at 23:09, 7 May 2024 (Usage: Added examples). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This template is to Template:braces as Template:bracket is to Template:brackets. It provides a way to wrap wiki markup in (single) braces, aka curly brackets.

Usage

[edit]
Source code Result
{{brace|1, 2, 3, 4}} {1, 2, 3, 4}
{{brace |[[Amsterdam]], [[Bonaire]], [[Curaçao]]}} {Amsterdam, Bonaire, Curaçao}
{{brace |1, 2, {{brace |3, 4}}}} {1, 2, {3, 4}}
{{brace |}} {}