|
|
Line 1: |
Line 1: |
| <includeonly>{{#switch:{{padleft:|1|{{{1|}}}}}|:=:{{str right|{{{1}}}|1}}|;=;{{str right|{{{1}}}|1}}|*=*{{str right|{{{1}}}|1}}|#=#{{str right|{{{1}}}|1}}|#default={{{1|}}}}}</includeonly>
| | {{Delete|I'm going to come up with something else.}} |
| <noinclude>
| |
| {{Template}}
| |
| | |
| Older version of the Encodefirst template from wikipedia.
| |
| | |
| This template replaces the first character of the argument with its HTML entity if it is one of four wiki markup characters <code>:</code> <code>;</code> <code>*</code> <code>#</code>. This can sometimes fix the issue in which a character may be processed as though it were at the beginning of a line.
| |
| | |
| == Usage ==
| |
| <pre>{{Encodefirst|<string>}}</pre>
| |
| | |
| == Examples ==
| |
| The output looks like the input whether a character is replaced or not.
| |
| | |
| <pre>{{Encodefirst|*Lisp}}</pre> produces: <pre>{{Encodefirst|*Lisp}}</pre></noinclude>
| |