Template:Make code/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} This template produces wikicode, which is not transcluded or substituted any further. This is equivalent to replacing the {{code|{{((}}}}, {{code|{{!..." |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}}{{Commons Import}} |
||
This template produces wikicode, which is not transcluded or substituted any further. This is equivalent to replacing the {{code|{{((}}}}, {{code|{{!}}}} and {{code|{{))}}}} tokens with <code>{{tl|((}}</code>, <code>{{tl|!}}</code> and <code>{{tl|))}}</code> respectively, which may be tedious. It is meant to replace the <code><nowiki></code> tag, which cannot be used as an input to templates like {{tl|Automarkup}}. |
This template produces wikicode, which is not transcluded or substituted any further. This is equivalent to replacing the {{code|{{((}}}}, {{code|{{!}}}} and {{code|{{))}}}} tokens with <code>{{tl|((}}</code>, <code>{{tl|!}}</code> and <code>{{tl|))}}</code> respectively, which may be tedious. It is meant to replace the <code><nowiki></code> tag, which cannot be used as an input to templates like {{tl|Automarkup}}. |
||
Latest revision as of 17:18, 18 October 2020
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
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>>}}→ {{As of|2015}}{{Make code|xaxbxcx|{=a|!=b|}=c}}→ x{x|x}x
See also
- {{UnstripNoWiki}}