Template:Codenowiki/doc: Difference between revisions
Jump to navigation
Jump to search
DocDolomite (talk | contribs) m (gah, fix own examples on doc page) |
DocDolomite (talk | contribs) m (rmv old, bad copied header about documentation) |
||
Line 1: | Line 1: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
=Documentation= | =Documentation= |
Latest revision as of 14:58, 26 August 2020
Documentation
{{codenowiki}} is a shorthand notation to enclose the single parameter text inside both the <code>
and <nowiki>
tags.
It is most useful when displaying wikisyntax to a user, say on a template documentation page, without actually evaluating the template code.
This template must always be entered with the subst: prefix
Usage
{{ subst:codenowiki | string to code-icize }}
Examples
Codenowiki | Result |
---|---|
{{subst:codenowiki|[[Category:Archetypes]]}} |
[[Category:Archetypes]]
|
{{subst:codenowiki|{{wip|date={{subst:Today}}}}}} |
{{wip|date={{subst:Today}}}}
|
- This template is a self-reference and so is part of the Unofficial Homecoming Wiki project rather than the content itself.