Module:Escape/doc: Difference between revisions

Content deleted Content added
Line 45:
For the most part, there is very little reason to set {{para|mode}} in template space since the patterns it stores are not shared with other invokations of this module. Templates should instead use the {{para|char}} if a new escape sequence is desired.
 
====Shortcut (not fully implemented)====
If provided a second argument that is a table containing a {key = value} pair, such that the key is {{code|text}}, {{code|undo}}, or {{code|kill}} and the value is a table containing the arguments that would have been passed to those functions. For example, {{code|escape:char('\\', {text {{=}} 'string'})}} is equivalent to {{code|escape:char('\\'):text('string')}}.