Difference between revisions of "Template:Delimiter-es/doc"
Jump to navigation
Jump to search
imported>Maschen |
imported>Maschen (update) |
||
| Line 1: | Line 1: | ||
| − | This template | + | ;This template contains the [[Help:Magic words#Conditional expressions|switch function]] for use in {{tl|ldelim}} and {{tl|rdelim}}, to change the height of the delimiters. |
| − | + | ;''Please do not delete it, and be very careful when editing it. Thank you.'' | |
| − | The title is short for "delimiter extension switch". | + | The title is short for "delimiter extension switch". Ideally do not [[Wikipedia:Moving a page|move]] it. |
==Syntax== | ==Syntax== | ||
| Line 14: | Line 14: | ||
*the first parameter <code>a</code> is the number of stories for the expression, and equals one of the values '''2, 3, 4, 5'''. | *the first parameter <code>a</code> is the number of stories for the expression, and equals one of the values '''2, 3, 4, 5'''. | ||
| − | *the second parameter <code>b</code> is the glyph for the delimiter | + | *the second parameter <code>b</code> is the glyph for the delimiter extension: |
**for left-handed square bracket extensions use '''⎢''', | **for left-handed square bracket extensions use '''⎢''', | ||
**for right-handed square bracket extensions use '''⎥''', | **for right-handed square bracket extensions use '''⎥''', | ||
| Line 22: | Line 22: | ||
**for double vertical bar extensions '''║'''. | **for double vertical bar extensions '''║'''. | ||
| − | + | Each line corresponds to inserting a glyph in a new line of the <code>< span ></code> using the <code>style="display:block;"</code>. | |
| + | |||
| + | The glyphs listed above should be copied and pasted into parameter <code>b</code> when this template is used. | ||
==External sites== | ==External sites== | ||
Revision as of 22:56, 25 June 2013
- This template contains the switch function for use in {{ldelim}} and {{rdelim}}, to change the height of the delimiters.
- Please do not delete it, and be very careful when editing it. Thank you.
The title is short for "delimiter extension switch". Ideally do not move it.
Syntax
The template has the code:
{{delimiter-es|a|b}}
containing two parameters:
- the first parameter
ais the number of stories for the expression, and equals one of the values 2, 3, 4, 5. - the second parameter
bis the glyph for the delimiter extension:- for left-handed square bracket extensions use ⎢,
- for right-handed square bracket extensions use ⎥,
- for left-handed round bracket extensions use ⎜,
- for right-handed round bracket extensions use ⎟,
- for vertical bar extensions use │,
- for double vertical bar extensions ║.
Each line corresponds to inserting a glyph in a new line of the < span > using the style="display:block;".
The glyphs listed above should be copied and pasted into parameter b when this template is used.