Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Unstrip

From Net 7 Portal Wiki

Module:Unstrip/doc

From Wikipedia, see:

Implements {{Unstrip}}, {{UnstripNoWiki}}, and {{KillMarkers}}

Usage

{{Unstrip|Some text <nowiki>''wikitext''</nowiki> and more some text.}}
{{UnstripNoWiki|Some <nowiki>{{'}}'wikitext{{'}}'</nowiki> here}} → {{UnstripNoWiki|Some ''wikitext'' here}}
{{KillMarkers|Hello world.<ref>(Ghost reference) {{cite web|url=https://www.example.com/|title=Example reference C}}</ref>}}

The above doc is transcluded from Module:Unstrip/doc. (edit | history)
Add categories to the /doc subpage, not here. Subpages of this template.


-- This module provides a frontend to the mw.text.unstrip, unstripNoWiki and killMarkers functions
local p = {}

function p.unstrip(frame)
	return mw.text.unstrip(frame.args[1])
end

function p.unstripNoWiki(frame)
	return mw.text.unstripNoWiki(frame.args[1])
end

function p.killMarkers(frame)
	return mw.text.killMarkers(frame.args[1])
end

return p