Template:Bra/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
Clarify when this should be used
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{dochead}}
{{Dochead}}
This template puts bra notation (<code>⟨</code> and <code>]</code>) around its arguments and removes leading and trailing whitespaces.
 
'''Note:''' If you are notating for [[val]]s, use [[Template: Val]] instead. Only use this template if you wish to explicitly use bra notation.
 
=== Usage ===
=== Usage ===
; You type
; You type
: <code><nowiki>{{bra| 31 49 72 87 }}</nowiki></code>
: <code><nowiki>{{bra| 31 49 72 87 }}</nowiki></code>
 
: {{spaces note}}
:'''Tip:''' Adding spaces improves readability of the wiki markup.


; You get (rendered)
; You get (rendered)
: {{bra| 31 49 72 87 }}
: {{{{ROOTPAGENAME}}| 31 49 72 87 }}


=== Technical note ===
=== Technical note ===

Latest revision as of 07:48, 14 June 2025

This template puts bra notation ( and ]) around its arguments and removes leading and trailing whitespaces.

Note: If you are notating for vals, use Template: Val instead. Only use this template if you wish to explicitly use bra notation.

Usage

You type
{{bra| 31 49 72 87 }}
Tip: Adding spaces improves readability of the markup.
You get (rendered)
31 49 72 87]

Technical note

Code point U+27E8 is used for the left angle bracket , the ASCII approximation is less-than symbol (< or &lt;).

See also