Template:Unstrip/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Unstrip. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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}}
- {{KillMarkers}}