Template:Mapping: Difference between revisions
Broken. Partial undo Tag: Undo |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}} | 1 = [[Mapping]]: | 2 = [[Sval]] [[mapping]]: | 3 = [[Gencom]] [[mapping]]: }}<span class="left-delim"> | <includeonly>{{#switch: {{{legend|}}} | ||
This '''mapping''' template eases typing [[mapping]]s | | 1=[[Mapping]]: | ||
| 2=[[Sval]] [[mapping]]: | |||
| 3=[[Gencom]] [[mapping]]: | |||
}}<span class="left-delim">{{lbrack}}</span>{{bra|{{{1|0}}}}}{{#if: {{{2|}}}|, {{bra|{{{2|}}}}}}}{{#if: {{{3|}}}|, {{bra|{{{3|}}}}}}}{{#if: {{{4|}}}|, {{bra|{{{4|}}}}}}}<span class="right-delim">{{rbrack}}</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. | |||
{{doc}} | {{doc}} |