Difference between revisions of "Template:Make code/doc"
Jump to navigation
Jump to search
imported>Petr Matas (+ cat) |
imported>Petr Matas (→See also: new section) |
||
| Line 12: | Line 12: | ||
== Example == | == Example == | ||
<code><nowiki>{{Make code|<<As of!2015>>}}</nowiki></code> → {{Make code|<<As of!2015>>}} | <code><nowiki>{{Make code|<<As of!2015>>}}</nowiki></code> → {{Make code|<<As of!2015>>}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|UnstripNoWiki}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
[[Category:Wikipedia character-substitution templates]] | [[Category:Wikipedia character-substitution templates]] | ||
Revision as of 00:24, 21 July 2016
| This is a documentation subpage for Template:Make code. It contains usage information, categories and other content that is not part of the original template page. |
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
{{Make code|<<As of!2015>>}} → Template:MultiReplace
See also
- {{UnstripNoWiki}}