Template:Plain text/doc
< Template:Plain text(Redirected from Module:Plain text/doc)
This is a documentation subpage for Template:Plain text. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 36,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions.
Usage
- Code
'''[[foo|hah]]''' <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>
→- hah is gah?
- Using template
{{Plain text|1='''[[foo|hah]]''' <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>}}
→- hah is gah