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

From blackwiki
Jump to navigation Jump to search
blackwiki>Daviddwd
blackwiki>Daviddwd
Line 6: Line 6:
 
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:
  
*<code><nowiki>{{angbr|ŋ}}</nowiki></code>  displays as  {{angbr|ŋ}}
+
*{{tlx|Angle bracket|ŋ}} displays as  {{Angle bracket|ŋ}}
*<code><nowiki>{{angbr|foo}}</nowiki></code>  displays as  {{angbr|foo}}
+
*{{tlx|Angle bracket|foo}} displays as  {{Angle bracket|foo}}
 +
*{{tlx|Angle bracket|ψ{{!}}Ĥ{{!}}ψ}} displays as {{Angle bracket|ψ{{!}}Ĥ{{!}}ψ}}
  
 
You can also insert (nest) a text- or character-producing template as the parameter. Examples:
 
You can also insert (nest) a text- or character-producing template as the parameter. Examples:
  
*<code><nowiki>{{angbr|{{IPA|ŋ}}}}</nowiki></code> displays as {{angbr|{{IPA|ŋ}}}}
+
*{{tlx|Angle bracket|{{IPA|ŋ}}}} displays as {{Angle bracket|{{IPA|ŋ}}}}
*<code><nowiki>{{angbr|{{date}}}}</nowiki></code> displays as {{angbr|{{date}}}}
+
*{{tlx|Angle bracket|{{date}}}} displays as {{Angle bracket|{{date}}}}
  
 
===Formatting (markup)===
 
===Formatting (markup)===

Revision as of 03:01, 23 December 2018

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:

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

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


No description.

Template parameters

ParameterDescriptionTypeStatus
text1

Text to embrace in angle brackets

Example
ψ|Ĥ|ψ
Linesuggested