Template:Mapping: Difference between revisions
Jump to navigation
Jump to search
m Recategorize |
ArrowHead294 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}} | 1 = [[Mapping]]: | 2 = [[Sval]] [[mapping]]: | 3 = [[Gencom]] [[mapping]]: }}<span class="left-delim">[</span>{{bra| {{{1|0}}} }}{{#if: {{{2|}}}|, {{bra| {{{2|}}} }} }}{{#if: {{{3|}}}|, {{bra| {{{3|}}} }} }}{{#if: {{{4|}}}|, {{bra| {{{4|}}} }} }}<span class="right-delim">]</span></includeonly><noinclude> | <includeonly>{{#switch: {{{legend|}}} | ||
| 1=[[Mapping]]: | |||
| 2=[[Sval]] [[mapping]]: | |||
| 3=[[Gencom]] [[mapping]]: | |||
}} | |||
<span class="left-delim">[</span>{{bra| {{{1|0}}} }}{{#if: {{{2|}}}|, {{bra| {{{2|}}} }} }}{{#if: {{{3|}}}|, {{bra| {{{3|}}} }} }}{{#if: {{{4|}}}|, {{bra| {{{4|}}} }} }}<span class="right-delim">]</span></includeonly><noinclude> | |||
This '''mapping''' template eases typing [[mapping]]s: it puts bra notation (<code>⟨</code> and <code>]</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Mappings are supported up to rank-4. | This '''mapping''' template eases typing [[mapping]]s: it puts bra notation (<code>⟨</code> and <code>]</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Mappings are supported up to rank-4. | ||
{{doc}} | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 02:06, 22 May 2024
This mapping template eases typing mappings: it puts bra notation (⟨
and ]
) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Mappings are supported up to rank-4.