Template:Angle bracket/doc
This is a documentation subpage for Template:Angle bracket. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Use this template to generate a pair of left (open) and right (close) angle brackets (also called chevrons) that will display correctly, even on operating systems and browsers that normally cannot display these characters when they are used in text. The template includes a 'nowrap' instruction, to prevent the brackets from separating from the enclosed string at the end of a line; as a consequence, a long enclosed string such as a date will not break either.
Usage
[kulemba source]The angle brackets will surround whatever you insert as a parameter after the pipe (|) symbol. Examples:
{{angle bracket|ŋ}}
displays as ⟨ŋ⟩{{angle bracket|foo}}
displays as ⟨foo⟩{{angle bracket|ψ{{!}}Ĥ{{!}}ψ}}
displays as ⟨ψ|Ĥ|ψ⟩
You can also insert (nest) a text- or character-producing template as the parameter. Examples:
{{angle bracket|{{IPA|ŋ}}}}
displays as ⟨ŋ⟩{{angle bracket|{{date}}}}
displays as ⟨27 Novembala 2024⟩
Shortcuts
[kulemba source]- {{Angbr}} is synonym
IPA
[kulemba source]{{angbr IPA}} is a shorthand for formatting IPA characters and is equivalent to nesting an {{IPA}} template:
{{angbr|ŋ}}
displays as ⟨ŋ⟩{{angbr IPA|ŋ}}
displays as ⟨ŋ⟩
Formatting (markup)
[kulemba source]Place any HTML or Wiki markup either outside the template or after the pipe (|) symbol as part of the parameter. Examples:
'''{{angle bracket|foo}}'''
displays as ⟨foo⟩{{angle bracket|<u>foo</u>}}
displays as ⟨foo⟩{{angle bracket|''foo''}}
displays as ⟨foo⟩
The template does not work properly with an equals sign (=) in the parameter. Start the parameter with 1=
to circumvent this problem.
Meaning
[kulemba source]Angle brackets (chevrons) have many uses as punctuation marks and symbols. See Angle brackets.
See also
[kulemba source]- {{abs}}
- {{Circumfix}}: linguistic affix set off with reversed angle brackets
- {{Bracket}}: square brackets
- {{Braket}}, {{Bra-ket}}, {{Bra}}, {{Ket}}: Dirac notation
- {{Langle}}, {{Rangle}}: single brackets
- {{norm}}
- {{pars}}
TemplateData
[kulemba source]TemplateData for Angle bracket
Places the text inside an angle bracket. Used to indicate graphemes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | 1 | Text to embrace in angle brackets
| Line | suggested |