Difference between revisions of "Template:Make code"

From blackwiki
Jump to navigation Jump to search
imported>Petr Matas
imported>Redrose64
(fix unclosed tag)
 
Line 1: Line 1:
 
{{MultiReplace|{{{1}}}|plain=yes|{{{<noinclude/>{|<}}}|{|{{{!|!}}}|{{!}}|{{{}|>}}}|}<noinclude/>}}<noinclude>
 
{{MultiReplace|{{{1}}}|plain=yes|{{{<noinclude/>{|<}}}|{|{{{!|!}}}|{{!}}|{{{}|>}}}|}<noinclude/>}}<noinclude>
 
{{doc}}
 
{{doc}}
 +
</noinclude>

Latest revision as of 16:47, 4 May 2019

Template:MultiReplace

Template documentation[view] [edit] [history] [purge]

This template produces wikicode, which is not transcluded or substituted any further. This is equivalent to replacing the {{, | and }} tokens with {{((}}, {{!}} and {{))}} respectively, which may be tedious. It is meant to replace the <nowiki> tag, which cannot be used as an input to templates like {{Automarkup}}.

Usage

{{Make code|wikitext with {, | and } replaced with <, ! and > respectively}}
Optional parameters
  • { (default value: <): String to be replaced with {.
  • ! (default value: !): String to be replaced with |.
  • } (default value: >): String to be replaced with }.

Example

See also