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:Codef

From PsychonautWiki Archive
Jump to navigation Jump to search

{{{1}}}

Copied from {{Code}} and modified, can be used in place of <syntaxhighlight lang="text" enclose="none"> ... </syntaxhighlight> tags.

{{codef|FOR i:=1 TO ∞ & beyond}} yields FOR i:=1 TO ∞ & beyond

You can use HTML/XML tags in the argument if you escape them with &lt;

  • {{codef|1=<span style="font-weight:bold">TEXT</span>}} yields TEXT
  • {{codef|1=&lt;span style="font-weight:bold">TEXT&lt;/span>}} yields <span style="font-weight:bold">TEXT</span>

Template calls may work if you escape the pipe character |

  • {{codef|{{shortcuts|COM:SCOPE}}}} yields Template:Shortcuts
  • {{codef|{{shortcuts{{!}}COM:SCOPE}}}} yields {{shortcuts|COM:SCOPE}}

Template calls without parameter won't work.

See also

  • {{code}} Same as this, but adds nowiki functionality, may save escaping.