Template: Make code
From Break Into Chat - BBS wiki
{{{1}}}
This template produces wikicode, which is not transcluded or substituted any further. This is equivalent to replacing the <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{</syntaxhighlight>, <syntaxhighlight lang="text" class="" id="" style="" inline="1">|</syntaxhighlight> and <syntaxhighlight lang="text" class="" id="" style="" inline="1">}}</syntaxhighlight> 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: <syntaxhighlight lang="text" class="" id="" style="" inline="1"><</syntaxhighlight>): String to be replaced with{
.!
(default value: <syntaxhighlight lang="text" class="" id="" style="" inline="1">!</syntaxhighlight>): String to be replaced with|
.}
(default value: <syntaxhighlight lang="text" class="" id="" style="" inline="1">></syntaxhighlight>): String to be replaced with}
.
Example
{{Make code|<<As of!2015>>}}
→ {{As of|2015}}
See also
- {{UnstripNoWiki}}
The above documentation is transcluded from Template:Make code/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |