Template:Code: Difference between revisions
Jump to navigation
Jump to search
RodRedlineM1 (talk | contribs) (Created page with "<includeonly>{{#tag:code|{{#tag:nowiki|{{{1|}}}}}}}<noinclude></includeonly> Used to wrap text in {{Code|<code>}} and {{Code|<nowiki>}} tags, as to avoid parsing it; essentially a non-line breaking version of the {{Code|pre}} tag. Useful for documentation pages. ==Example== <pre>{{Code|Insert Wikitext here}}</pre> Output: {{Code|Insert Wikitext here}} ==See also== *Template:Tem Category:Formatting templates </noinclude>") |
RodRedlineM1 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><code>{{#tag:nowiki|{{{1|}}}}}</code></includeonly><noinclude> | ||
Used to wrap text in {{Code|<code>}} and {{Code|<nowiki>}} tags, as to avoid parsing it; essentially a non-line breaking version of the {{Code|pre}} tag. Useful for documentation pages. | Used to wrap text in {{Code|<code>}} and {{Code|<nowiki>}} tags, as to avoid parsing it; essentially a non-line breaking version of the {{Code|pre}} tag. Useful for documentation pages. | ||
Line 6: | Line 6: | ||
<pre>{{Code|Insert [[Wikitext]] here}}</pre> | <pre>{{Code|Insert [[Wikitext]] here}}</pre> | ||
Output: | Output: | ||
{{Code|Insert Wikitext here}} | {{Code|Insert [[Wikitext]] here}} | ||
==See also== | ==See also== |
Latest revision as of 16:05, 19 June 2024
Used to wrap text in <code>
and <nowiki>
tags, as to avoid parsing it; essentially a non-line breaking version of the pre
tag. Useful for documentation pages.
Example
{{Code|Insert [[Wikitext]] here}}
Output:
Insert [[Wikitext]] here