Template:KillMarkers
Appearance
{{{1}}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| File:Lua-Logo.svg | This template uses Lua: |
This function processes the content provided by |1= using the mw.text.killMarkers function. It removes references and other parser tags from the input content. Note: Removing a <ref>...</ref> tag may cause "ghost" references (one that's not in text, but still appears in the reference section). See the "with" example below.
Usage[change]
{{KillMarkers|Text to process}}
Example[change]
Without: <syntaxhighlight lang="wikitext"> According to math, <math>2 + 2 = 4</math>.[1] </syntaxhighlight>
- → According to math, <math>2 + 2 = 4</math>.[2]
With: <syntaxhighlight lang="wikitext"> {{{1}}} </syntaxhighlight>
- → {{{1}}}