Module:Plain text/doc
This is the documentation page for Module:Plain text
This is a documentation subpage for Module:Plain text. It contains usage information, categories and other content that is not part of the original module page. |
This Lua module is used on approximately 1,100,000 pages, or roughly 19472% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Implements {{Plain text}}. Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions.
Usage
jhyuk- Code
'''[[foo|hah]]''' <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>
→- hah is gah?
- Using module
{{#invoke:Plain text|main|1='''[[foo|hah]]''' <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>}}
→- hah is gah