Warning
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.

Template:Code

From PsychonautWiki Archive
Revision as of 05:56, 30 July 2010 by iw>Rocket000 (cat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}}

Copied from Wikipedia, can be used in place of <code><nowiki> ... </nowiki></code> constructs.

Examples

Code Result Remarks
{{code|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>}} <table>TEXT</table> Most other HTML/XML tags should work without escaping
{{code|{{shortcuts|COM:SCOPE}}}} [[:Template:Shortcuts]] Template calls may work if you escape the pipe character |
{{code|{{shortcuts{{!}}COM:SCOPE}}}} {{shortcuts|COM:SCOPE}}

See also

  • {{codef}} Same as this, but without the nowiki functionality, useful when the argument needs processing, e. g. italicizing