Difference between revisions of "Template:Codenowiki/doc"

From MidrangeWiki
Jump to: navigation, search
m (creating like Template:Code/doc)
(No difference)

Revision as of 05:01, 4 December 2007

48px This is the template documentation page for {{Codenowiki}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Documentation

{{codenowiki}} is a shorthand notation to enclose the single parameter text inside both the <code> and <nowiki> tags. It is most useful when making a reference to a tag itself, such as code or nowiki.

Usage

{{ codenowiki | string to code-icize }}

Examples

Codenowiki Result
{{codenowiki|this is a test of the quick brown fox}}
</noinclude><nowiki>this is a test of the quick brown fox</nowiki>