Difference between revisions of "Template:Angle bracket"

From blackwiki
Jump to navigation Jump to search
blackwiki>OwenBlacker
(Reverted revision 628345203 by Edokter, which causes box characters to show for some users (I'm Win 7 / Chrome), which defeats the point of this template!)
blackwiki>Edokter
(You seem to contradict yourself on talk; if these *do* show correctly on your system, then let them be.)
Line 1: Line 1:
<span class="Unicode">&lang;</span>{{{1|}}}<span class="Unicode">&rang;</span><noinclude>
+
<span class="Unicode">&#x27E8;</span>{{{1|}}}<span class="Unicode">&#x27E9;</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:27, 6 December 2014

Template documentation[view] [edit] [history] [purge]

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 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 19 January 2026

{{angbr IPA}} is a shorthand for the first example.

Formatting (markup)

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

Angle brackets (chevrons) have many uses as punctuation marks and symbols. See Angle brackets.

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Angle bracket

Places the text inside an angle bracket. Used to indicate graphemes.

Template parameters

ParameterDescriptionTypeStatus
text1

Text to embrace in angle brackets

Example
ψ|Ĥ|ψ
Linesuggested