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

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
(→‎Usage: bad example)
blackwiki>Sardanaphalus
(Converted Redirects section to {{Template shortcuts}})
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-- Categories at the bottom of this page, please; interwikis at Wikidata. -->
 +
{{Template shortcuts |angbr|infix}}
  
== Usage ==
 
 
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:
  
Line 25: Line 25:
 
===Meaning===
 
===Meaning===
 
Angle brackets (chevrons) have many uses as punctuation marks and symbols. See [[Bracket#Angle brackets|Angle brackets]].
 
Angle brackets (chevrons) have many uses as punctuation marks and symbols. See [[Bracket#Angle brackets|Angle brackets]].
 
==Redirects==
 
* {{tl|Angbr}}
 
* {{tl|Infix}}
 
  
 
==See also==
 
==See also==

Revision as of 15:40, 11 January 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 ⟨7 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