Template:Ket/doc: Difference between revisions
Clarify when this should be used |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{Dochead}} | ||
This '''ket''' template puts ket notation (<code>[</code> and <code>⟩</code>) around its arguments and removes leading and trailing spaces. | This '''ket''' template puts ket notation (<code>[</code> and <code>⟩</code>) around its arguments and removes leading and trailing spaces. | ||
{{Note| If you are notating for [[monzo]]s, use [[Template: Monzo]] instead. Only use this template if you wish to explicitly use ket notation. }} | |||
=== Usage === | === Usage === | ||
; You type | ; You type | ||
: <code><nowiki>{{ket| -19 12 }}</nowiki></code> | : <code><nowiki>{{ket| -19 12 }}</nowiki></code> | ||
; You get (rendered) | ; You get (rendered) | ||
: {{{{ROOTPAGENAME}}| -19 12 }} | : {{{{ROOTPAGENAME}}| -19 12 }} | ||
{{Spaces note}} | |||
=== Technical note === | === Technical note === | ||