Lompat ke isi

Cèṭa'an:UnstripNoWiki/doc

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika

TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

This function processes the content provided by |1= using the mw.text.unstripNoWiki function. It extracts the text from any <nowiki>...</nowiki> tags, so the nowiki text will not show as wiki text. Templates, parser functions, extension tags, etc. inside the <nowiki>...</nowiki> tags will not be expanded (unless {{Expand wikitext}} is used).

{{UnstripNoWiki|Some <nowiki>''wikitext''</nowiki> here}} → Some wikitext here

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 {{UnstripNoWiki}}: {{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}}).[2]

With {{UnstripNoWiki}} 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)).[3]

References

[beccè' sombher]
  1. Hello!
  2. Hello!
  3. Hello!

See also

[beccè' sombher]