Template:Mapping: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
Calling another template is pointless as these characters are invisible to users Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{legend|}}} | <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> | ||
| 1=[[Mapping]]: | 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. | ||
| 2=[[Sval]] [[mapping]]: | |||
| 3=[[Gencom]] [[mapping]]: | |||
}}<span class="left-delim"> | |||
This '''mapping''' template eases typing [[mapping]]s | |||
{{doc}} | {{doc}} |