Difference between revisions of "Template:Angle bracket/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Crissov
(→‎See also: braket/Dirac notation and generic single Langle bracket templates)
blackwiki>Crissov
(→‎top: {{grapheme}} shortcut)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories at the bottom of this page, please; interwikis at Wikidata. -->
 
<!-- Categories at the bottom of this page, please; interwikis at Wikidata. -->
{{Template shortcuts |angbr|infix}}
+
{{Template shortcuts |angbr|infix|grapheme}}
  
 
Use this template to generate a pair of left (open) and right (close) [[Bracket#Angle brackets|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 (computer programming)|parameter]] after the pipe (|) symbol. Examples:
 
Use this template to generate a pair of left (open) and right (close) [[Bracket#Angle brackets|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 (computer programming)|parameter]] after the pipe (|) symbol. Examples:

Revision as of 15:36, 7 December 2015

Template:Template shortcuts

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:

  • {{angbr|ŋ}} displays as ⟨ŋ⟩
  • {{angbr|foo}} displays as ⟨foo⟩

You can also insert (nest) a text- or character-producing template as the parameter. Examples:

  • {{angbr|{{IPA|ŋ}}}} displays as ⟨ŋ
  • {{angbr|{{unicode|ŋ}}}} displays as ⟨Template:Unicode
  • {{angbr|{{date}}}} displays as ⟨2 January 2026⟩

Formatting (markup)

Place any HTML or Wiki markup either outside the template or after the pipe (|) symbol as part of the parameter. Examples:

  • <b>{{angbr|foo}}</b> displays as ⟨foo⟩
  • {{angbr|<u>foo</u>}} displays as ⟨foo
  • {{angbr|''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