Template:KillMarkers
{{{1}}}
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
changeWithout:
According to math, <math>2 + 2 = 4</math>.<ref>{{cite web|url=https://www.example.com/|title=Example reference A}}</ref>
- → According to math, .[1]
With:
{{KillMarkers|According to math, <math>2 + 2 = 4</math>.<ref>(Ghost reference) {{cite web|url=https://www.example.com/|title=Example reference A}}</ref>}}
- → According to math, .
References
change- ↑ "Example reference A".
- ↑ (Ghost reference) "Example reference A".