Content deleted Content added
m →Example using tag arguments: lets make example not need adjusting if module updated |
m →Example using tag arguments: how to enter \n |
||
Line 54:
<pre>{{#invoke:Ustring|match
|{{Module:Ustring}}|%s%sif.+%
<!--enter an actual newline character to match '\n'-->%s%send
|tag=syntaxhighlight|lang=lua}}</pre>
produces:
{{#invoke:Ustring|match
|{{Module:Ustring}}|%s%sif.+%
<!--enter an actual newline character to match '\n'-->%s%send
|tag=syntaxhighlight|lang=lua}}
Line 65:
{{#tag:pre|<nowiki><syntaxhighlight lang="lua">{{#invoke:Ustring|match
|{{Module:Ustring}}|%s%sif.+%
<!--enter an actual newline character to match '\n'-->%s%send}}</syntaxhighlight></nowiki>}}
produces:
<syntaxhighlight lang="lua">{{#invoke:Ustring|match
|{{Module:Ustring}}|%s%sif.+%
<!--enter an actual newline character to match '\n'-->%s%send}}</syntaxhighlight>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|