Difference between revisions of "Module:Sandbox/Luis150902/cleanup/doc"
< Module:Sandbox | Luis150902 | cleanup
Jump to navigation
Jump to search
blackwiki>Renamed user awfwvowjvwrvnwio (Show code used) |
blackwiki>Renamed user awfwvowjvwrvnwio |
||
| Line 5: | Line 5: | ||
<code><nowiki>{{</nowiki>#invoke:Sandbox/Luis150902/cleanup|main|''string''}}</code>, where ''string'' is the string to be escaped. This eases the editing of wiki markup containing [[bidirectional text]]. Inserting <code>&#61;</code> (escaped form of <code>{{=}}</code>) is displayed as <code>;61#&</code> between right-to-left characters. | <code><nowiki>{{</nowiki>#invoke:Sandbox/Luis150902/cleanup|main|''string''}}</code>, where ''string'' is the string to be escaped. This eases the editing of wiki markup containing [[bidirectional text]]. Inserting <code>&#61;</code> (escaped form of <code>{{=}}</code>) is displayed as <code>;61#&</code> between right-to-left characters. | ||
| − | * Test 1: <code>{{((}}#invoke:Sandbox/Luis150902/cleanup|main|A{{))}}</code> returned A | + | * Test 1: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|A{{))}}</code> returned A |
| − | * Test 2: <code>{{((}}#invoke:Sandbox/Luis150902/cleanup|main|B{{))}}</code> returned B | + | * Test 2: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|B{{))}}</code> returned B |
| − | * Test 3: <code>{{((}}#invoke:Sandbox/Luis150902/cleanup|main|א{{))}}</code> returned א | + | * Test 3: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|א{{))}}</code> returned א |
| − | * Test 4: <code>{{((}}#invoke:Sandbox/Luis150902/cleanup|main|אתבש{{))}}</code> returned אתבש (Atbash) | + | * Test 4: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|אתבש{{))}}</code> returned אתבש (Atbash) |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 22:43, 6 January 2017
| 40x40px | This module is rated as pre-alpha. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure. |
Usage
{{#invoke:Sandbox/Luis150902/cleanup|main|string}}, where string is the string to be escaped. This eases the editing of wiki markup containing bidirectional text. Inserting = (escaped form of =) is displayed as ;61#& between right-to-left characters.
- Test 1:
{{subst:#invoke:Sandbox/Luis150902/cleanup|main|A}}returned A - Test 2:
{{subst:#invoke:Sandbox/Luis150902/cleanup|main|B}}returned B - Test 3:
{{subst:#invoke:Sandbox/Luis150902/cleanup|main|א}}returned א - Test 4:
{{subst:#invoke:Sandbox/Luis150902/cleanup|main|אתבש}}returned אתבש (Atbash)