Content deleted Content added
m →Example using tag arguments: lets make example not need adjusting if module updated |
|||
Line 52:
===Example using tag arguments===
<pre>{{#invoke:Ustring|
|{{Module:Ustring}}| %s%send
|tag=syntaxhighlight|lang=lua}}</pre>
produces:
{{#invoke:Ustring|
|{{Module:Ustring}}| %s%send
|tag=syntaxhighlight|lang=lua}}
Note that:
{{#tag:pre|<nowiki><syntaxhighlight lang="lua">{{#invoke:Ustring|
|{{Module:Ustring}}| %s%send}}</syntaxhighlight></nowiki>}} produces:
<syntaxhighlight lang="lua">{{#invoke:Ustring|
|{{Module:Ustring}}| %s%send}}</syntaxhighlight> <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|