|
|
Nowiki Tags (Help)
Related Content: The nowiki tag is an escape character for wiki markup. Include markup text between an opening and closing tag for it to display as typed, rather than as marked up.
[edit] Basic UsageA simple example of the nowiki tag:
[edit] Using Nowiki with TemplatesIf you are designing or using advanced templates, be wary of using nowiki tags, as they may have unexpected results. Test the solution thoroughly before introducing it for use in the Wiki.
[edit] Showing a Nowiki Tag PairBy default, the nowiki tags are removed during the output creation process. If you wish to display the actual tags in text, you need to work around them a bit. Nesting a nowiki tag set has no effect, so therefore any successive opening tags before the initial opener is ignored, for processing purposes at least. However, prematurely using a closing tag can have undesired side effects. The correct syntax for displaying a pair of nowiki tags is as follows:
The trick is in the final closing nowiki tag: we are required to break the displayed closing tag with the acutal processed closing tag.
[edit] Nowiki Template
The nowiki template exists to avoid this cumbersome markup. The syntax is considerably easier than that of the tags themselves:
|
| This page was last modified 15:04, 12 January 2012. This page has been accessed 311 times. Disclaimers |