• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Nowiki

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template should always be substituted (i.e., use {{subst:Nowiki}}).

Used to insert <nowiki>...</nowiki> tag (or, if no {{{1}}} parameter content is given, a self-closing <nowiki /> tag) in a substituted template. The resulting tag will be processed as a real tag by further substitutions and transclusions, so this should not be used for documentation. Rather, it is used by metatemplates to generate nowiki tags.

Usage

{{<includeonly>subst:</includeonly>Nowiki|{{{1}}}}}

If the template call is already within an includeonly block, the includeonly tags should be omitted. Substitution is required, but must only be used during inclusion; otherwise, the template will be substituted with includeonly tags immediately, and the desired effect will be lost.

Nowiki templates and modules

Templates and modules that implement <nowiki>TEXT</nowiki>

  • {{nowiki}} - usage: {{nowiki | TEXT }}
  • {{nowiki2}} - usage: {{nowiki2 | TEXT | tag = TAG | style = STYLE }}
  • Module:String2 nowiki(TEXT) - usage: {{#invoke:String2 | nowiki | TEXT }}

See also

  • v
  • t
  • e
Wikitext-changing templates
wikitext
  • {{Nowiki}} / dtag
  • {{Plain text}} / Module:Plain text
  • {{Unstrip}}, {{UnstripNoWiki}}, {{KillMarkers}} / Module:Unstrip
  • {{Strip tags}}
unicode
  • Module:DecodeEncode
url
Module:Urldecode
Category:Wikicode string manipulation templates (1)
The above documentation is transcluded from Template:Nowiki/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Nowiki&oldid=25468"
Categories:
  • Wikipedia substituted templates
  • Navigational boxes without horizontal lists
  • Wikipedia metatemplates
  • Wikicode string manipulation templates
Last edited on 18 August 2017, at 18:56

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 18 August 2017, at 18:56.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop