Template:Bra: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
m Recategorize
ArrowHead294 (talk | contribs)
No edit summary
Line 2: Line 2:
This template puts bra notation (<code>&#x27E8;</code> and <code>&#93;</code>) around its arguments (it also removes surrounding spaces).
This template puts bra notation (<code>&#x27E8;</code> and <code>&#93;</code>) around its arguments (it also removes surrounding spaces).


Note: If you are notating for [[val]]s, use [[Template: Val]] instead.
'''Note:''' If you are notating for [[val]]s, use [[Template: Val]] instead.


== Usage ==
{{doc}}
; You type
: <code><nowiki>{{bra| 31 49 72 87 }}</nowiki></code>
 
:'''Tip''': Adding spaces improves readability of the wiki markup.
 
; You get (rendered)
: {{{{PAGENAME}}| 31 49 72 87 }}
 
== Technical note ==
[[Wikipedia: Code point|Code point]] [https://www.compart.com/unicode/U+27E8 U+27E8] is used for the left angle bracket <code>⟨</code>, the ASCII approximation is less-than symbol (<code>&lt;</code> or <code>&amp;lt;</code>).
 
== See also ==
* [[Template: Val]]
* [[Template: Mapping]]
* [[Template: Multival]]
* [[Template: Ket]] – puts ket notation around its argument
* [[Template: Rbrack]] – right bracket
* [[Template: Trim]]
* [[MediaWiki: Common.css]] – contains style definition(s) for the <code>val class</code>


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 14:29, 20 May 2024

This template puts bra notation ( and ]) around its arguments (it also removes surrounding spaces).

Note: If you are notating for vals, use Template: Val instead.

Template:Doc