Jump to content

Template:Nowiki: Difference between revisions

From Wiki - Scioly.org
Added doc ref
restoring template
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{subst:dtag|nowiki|{{{1|}}}}}</includeonly>
<includeonly>{{subst:dtag|nowiki|{{{1|}}}}}</includeonly><noinclude>{{Documentation}}[[Category: Templates]]</noinclude>
<noinclude>
{{Nowiki/doc}}
[[Category: Templates]]
</noinclude>

Latest revision as of 05:40, 6 August 2020

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