Jump to content

Template:Nowiki/doc: Difference between revisions

From Wiki - Scioly.org
Added brief doc
 
m Added categories
Line 6: Line 6:


<code><nowiki>{{<includeonly>subst:</includeonly>Nowiki|content}}</nowiki></code> produces <code><nowiki><nowiki></nowiki> content <nowiki></nowiki></nowiki></code>.
<code><nowiki>{{<includeonly>subst:</includeonly>Nowiki|content}}</nowiki></code> produces <code><nowiki><nowiki></nowiki> content <nowiki></nowiki></nowiki></code>.
<noinclude>
[[Category:Templates]]
[[Category:Organization Templates]]
</noinclude>

Revision as of 07:38, 28 February 2020

Template:Nowiki/doc - Documentation

The Nowiki template is used to insert <nowiki> and </nowiki> tags around a certain piece of content.

Usage

Unless the template is already being substituted in an area with <includeonly> tags, then the <includeonly> and </includeonly> tags should surround the subst: to produce the desired effect.

{{<includeonly>subst:</includeonly>Nowiki|content}} produces <nowiki> content </nowiki>.