Jump to content

Template:Nowiki: Difference between revisions

From Wiki - Scioly.org
Added doc ref
Attempting to remove unnecessary line breaks
Line 1: Line 1:
<includeonly>{{subst:dtag|nowiki|{{{1|}}}}}</includeonly>
<includeonly>{{subst:dtag|nowiki|{{{1|}}}}}</includeonly><noinclude>{{Nowiki/doc}}[[Category: Templates]]</noinclude>
<noinclude>
{{Nowiki/doc}}
[[Category: Templates]]
</noinclude>

Revision as of 21:44, 23 March 2020

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>.