Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 23:36, 2 December 2019 by commons>Dibbydib (Created page with '<code>{{<includeonly>subst:</includeonly>Nowiki|{{{1}}}}}</code><noinclude>{{Documentation}}</noinclude>')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Codenowiki/doc.
This has been copied from the English Wikipedia's Codenowiki template. Some features may be missing.

This template provides a speedy way to wrap template source code in ‎<code>‎<nowiki>...‎</nowiki>‎</code> markup.

Examples

Code Result Remarks
{{code|1=FOR i:=1 TO ∞ & beyond}} FOR i:=1 TO ∞ & beyond}}
{{code|&lt;nowiki> ... &lt;/nowiki>}} <nowiki> ... </nowiki> You can use ‎<nowiki> and ‎</nowiki> tags in the argument if you escape them with &lt;
{{code|‎<table>TEXT‎</table>}} TEXT
}}
Most other HTML/XML tags should work without escaping
{{code|{{shortcuts|COM:SCOPE}}}} Shortcut: COM:SCOPE}} Template calls may work if you escape the pipe character {{subst:Nowiki ({{}}) and closing brackets ({{subst:Nowiki|}}}})
{{code|{{((}}shortcuts{{!}}COM:SCOPE{{))}}}} {{shortcuts|COM:SCOPE}}}}

Limitations

This template does not work with signatures. Typing {{subst:codenowiki|~~~~}} results in displaying your full signature's code.

See also

  • {{codef}} Same as this, but without the nowiki functionality, useful when the argument needs processing, e. g. italicizing
  • {{pre}}
  • {{Syntaxhighlight}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.