Template:Chop head and tail/doc
This template removes <number-L> characters from the start and <number-R> from the end of <string>:
A single parameter may be specified if <number-L> = <number-R>:
This template can be used to "unlink" a linked parameter.
- Template:Tlx results in Einstein.
Because the default value of <number> is 2, this can be shortened to
- When used on strings with characters that carry a meaning in wiki-layout, this template will interpret the character as a layout instruction (bugzilla:12974). For example, Template:Tlx renders as
- Supports the character set as defined by Template:Tl, so that e.g. Template:Tlx renders correctly as Nürnberg. However, not all characters are in this set.