Template:Unstrip/doc

Template page

Processes the input using mw.text.unstrip function.

Removes any <nowiki>...</nowiki> tag, so the nowiki-text will not show as wiki-text. Templates inside the tags will not be expanded (see examples below).

{{Unstrip|Some text <nowiki>wikitext</nowiki> and more some text.}}

Usage

Example:

Regular sentence (some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}}).

Usually (no template):

  • Regular sentence <nowiki>(some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}})</nowiki>.
Regular sentence (some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}}).


Use {{Unstrip}}:

  • {{Unstrip|Regular sentence <nowiki>(some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}})</nowiki>.}}
Regular sentence (some nowiki-text here {{convert|1|km|mi|abbr=on}}).

See also