Template:Unstrip
Appearance
{{{1}}}
| This template uses Lua: |
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
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
- {{UnstripNoWiki}}
- {{Make code}}
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.