Template:Bra/doc: Difference between revisions

Clarify when this should be used
mNo edit summary
Line 2: Line 2:
This template puts bra notation (<code>⟨</code> and <code>]</code>) around its arguments and removes leading and trailing whitespaces.
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.  
{{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}}


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


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