Koha Test Wiki MW Canasta on Koha Portainer
Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.
For the current Koha Wiki, visit https://wiki.koha-community.org .Template:Unstrip
Jump to navigation
Jump to search
{{{1}}}
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}}
The above documentation is transcluded from Template:Unstrip/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |