Cèṭa'an:Unstrip
{{{1}}}
src
attribute must not be empty.This template uses Lua: |
This function processes the content provided by |1=
using the mw.text.unstrip function. It extracts the text from any <nowiki>...</nowiki>
tags (so the nowiki text will not show as wiki text) and removes any references and other parser tags. It effectively combines {{UnstripNoWiki}} and {{KillMarkers}}.
Templates, parser functions, extension tags, etc. inside the <nowiki>...</nowiki>
tags will not be expanded (unless {{Expand wikitext}} is used). Removing a <ref>...</ref>
tag may cause "ghost" references (one that's not in text, but still appears in the reference section). See Template:KillMarkers/doc for more information..
Usage
[beccè' sombher]{{Unstrip|Some text <nowiki>wikitext</nowiki> and more some text.}}
Examples
[beccè' sombher]Without this template: Regular sentence <nowiki>(some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}})</nowiki>.<ref>Hello!</ref>
→ Regular sentence (some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}}).[1]
With {{Unstrip}}: {{Unstrip|Regular sentence <nowiki>(some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}})</nowiki>.<ref>Hello!</ref>}}
→ Regular sentence (some nowiki-text here {{convert|1|km|mi|abbr=on}}).
With {{Unstrip}} and {{Expand wikitext}}: {{Expand wikitext|{{Unstrip|Regular sentence <nowiki>(some ''nowiki-text'' here {{convert|1|km|mi|abbr=on}})</nowiki>.<ref>Hello!</ref>}}}}
→ Regular sentence (some nowiki-text here 1 km (0,62 mi)).
References
[beccè' sombher]See also
[beccè' sombher]- {{UnstripNoWiki}}
- {{KillMarkers}}
- {{Make code}}