Difference between revisions of "Module:Sandbox/Luis150902/cleanup/doc"
< Module:Sandbox | Luis150902 | cleanup
Jump to navigation
Jump to search
blackwiki>Renamed user awfwvowjvwrvnwio (Adding semicolons) |
m (5 revisions imported) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | <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: {{#invoke:Sandbox/Luis150902/cleanup|main|A}} returned A | + | * Test 1: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|A{{))}}</code> returned A |
| − | * Test 2: {{#invoke:Sandbox/Luis150902/cleanup|main|B}} returned B | + | * Test 2: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|B{{))}}</code> returned B |
| − | * Test 3: {{#invoke:Sandbox/Luis150902/cleanup|main|א}} returned א | + | * Test 3: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|א{{))}}</code> returned א |
| − | * Test 4: {{#invoke:Sandbox/Luis150902/cleanup|main|אתבש}} returned אתבש (Atbash) | + | * Test 4: <code>{{((}}subst:#invoke:Sandbox/Luis150902/cleanup|main|אתבש{{))}}</code> returned אתבש (Atbash) |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Latest revision as of 10:07, 27 September 2020
| 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)