টেমপ্লেট:KillMarkers/নথি
এটি টেমপ্লেট:KillMarkers-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
ব্যবহৃত লুয়া: |
Usage[সম্পাদনা]
Implements mw.text.killmarkers( s )
: remove references and other parser tags from the input string s
.
- mw:Extension:Scribunto/Lua_reference_manual#mw.text.killMarkers
- See parser tags description mw:Strip_marker.
Note: removing a <ref> tag may cause "ghost" references (not in text, but appearing in reference section). See "with" example below.
Example[সম্পাদনা]
Without:
Hello world.<ref>{{cite web|url=https://www.example.com/|title=Example reference A}}</ref>
- → Hello world.[১]
With:
{{KillMarkers|Hello world.<ref>{{cite web|url=https://www.example.com/|title=Example reference B}}</ref>}}
- → Hello world.
Ghost reference created:
{{KillMarkers|Hello world.<ref>(Ghost reference) {{cite web|url=https://www.example.com/|title=Example reference C}}</ref>}}
- → Hello world.
References[সম্পাদনা]
- ↑ "Example reference A"।
- ↑ "Example reference B"।
- ↑ (Ghost reference) "Example reference C"।