More actions
Module:Unstrip/doc
From Wikipedia, see:
Implements {{Unstrip}}, {{UnstripNoWiki}}, and {{KillMarkers}}
- mw:Extension:Scribunto/Lua reference manual#mw.text.unstrip
- mw:Extension:Scribunto/Lua reference manual#mw.text.unstripNoWiki
- mw:Extension:Scribunto/Lua reference manual#mw.text.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