Diferencia entre revisiones de «Plantilla:Monzo»

De Wiki Xenarmónico
Ir a la navegación Ir a la búsqueda
Xenwolf (discusión | contribs.)
spaces are trimmed for named parameters not for positional ones
Notación bra-ket, ejemplo con leyenda, interwiki plantilla
 
Línea 1: Línea 1:
<includeonly><span style="white-space: nowrap;">&#124;{{{1|{{{text|0}}}}}}&gt;</span></includeonly><noinclude>
<includeonly>{{#if: {{{legend|}}}|[[monzo]]:&nbsp;}}<span class="left-delim">&#91;</span>{{trim| {{{1|0}}} }}<span class="right-delim">&#x27E9;</span></includeonly><noinclude>
{{Interwiki
| de = Vorlage:Monzo
| en = Template:Monzo
| es = Plantilla:Monzo
}}
:<tt>todo: translate into Spanish</tt>
:<tt>todo: translate into Spanish</tt>
This template eases using the [[Monzo]] notation, because the pipe symbol (<code>&#124;</code>) controls specific wiki functions and the greater sign (<code>&gt;</code>) has a special meaning in HTML (and thus sometimes also in the wiki text).
This template eases using the [[Monzo]] notation using [[wikipedia:es:Notación bra-ket|bra-ket symbols]].


Usage example:
Note: Monzos are sometimes written informally with the pipe symbol (<code>&#124;</code>) and the greater sign (<code>&gt;</code>), but this template only uses bra-ket symbols.
<nowiki>{{Monzo|-19 12}}</nowiki>


...will be rendered as
== Usage ==
 
* <code><nowiki>{{Monzo|-19 12}}</nowiki></code> will be rendered as: {{Monzo|-19 12}}
&#124;-19 12&gt;
* <code><nowiki>{{Monzo|legend=1|-19 12}}</nowiki></code> will be rendered as: {{Monzo|legend=1|-19 12}}


[[Categoría:Plantillas]]
[[Categoría:Plantillas]]


<!-- interwiki -->
[[de:Vorlage:Monzo]]
[[en:Template:Monzo]]
</noinclude>
</noinclude>

Revisión actual - 04:13 15 jul 2026

todo: translate into Spanish

This template eases using the Monzo notation using bra-ket symbols.

Note: Monzos are sometimes written informally with the pipe symbol (|) and the greater sign (>), but this template only uses bra-ket symbols.

Usage

  • {{Monzo|-19 12}} will be rendered as: [-19 12
  • {{Monzo|legend=1|-19 12}} will be rendered as: monzo[-19 12