Difference between revisions of "Template:Angle bracket/doc"
blackwiki>Gorobay m (fix HTML) |
blackwiki>Edokter (→Usage: bad example) |
||
| Line 14: | Line 14: | ||
*<code><nowiki>{{angbr|{{date}}}}</nowiki></code> displays as {{angbr|{{date}}}} | *<code><nowiki>{{angbr|{{date}}}}</nowiki></code> displays as {{angbr|{{date}}}} | ||
| − | + | ===Formatting (markup)=== | |
| − | |||
Place any HTML or Wiki markup either outside the template or after the pipe (|) symbol as part of the parameter. Examples: | Place any HTML or Wiki markup either outside the template or after the pipe (|) symbol as part of the parameter. Examples: | ||
| Line 22: | Line 21: | ||
*<code><nowiki>{{angbr|''foo''}}</nowiki></code> displays as {{angbr|''foo''}} | *<code><nowiki>{{angbr|''foo''}}</nowiki></code> displays as {{angbr|''foo''}} | ||
| − | + | The template does not work properly with an equals sign (=) in the parameter. Start the parameter with <code>1=</code> to circumvent this problem. | |
| − | |||
| − | |||
| − | |||
| − | + | ===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]]. | ||
Revision as of 12:42, 6 December 2014
| This is a documentation subpage for Template:Angle bracket. It contains usage information, categories and other content that is not part of the original template page. |
Usage
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 ⟨10 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.
Redirects
See also