Template:Codenowiki/doc: Difference between revisions
Jump to navigation
Jump to search
DocDolomite (talk | contribs) (create template doc page) |
DocDolomite (talk | contribs) m (gah, fix own typo in Category:Formatting Templates) |
||
Line 25: | Line 25: | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Formatting | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Revision as of 14:46, 26 August 2020
Template:Template doc page viewed directly
Documentation
{{codenowiki}} is a shorthand notation to enclose the single parameter text inside both the and
<nowiki>
tags. It is most useful when making a reference to a tag itself, such as code or nowiki.
This template must be subst:
Usage
{{ subst:codenowiki | string to code-icize }}
Examples
Codenowiki
Result
{{subst:codenowiki|this is a test of <code> the quick brown fox}}
this is a test of the <code> quick brown fox
- This template is a self-reference and so is part of the Unofficial Homecoming Wiki project rather than the content itself.