Template:Plain text

From Terraria Wiki
Jump to navigation Jump to search
This template uses Lua.
This template uses Module:Plain text, a script written in the Lua programming language. To learn more about Lua, see Terraria Wiki:Lua.
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
Template-info.svg Documentation The documentation below is transcluded from Template:Plain text/doc. (edit | history)

Used for producing short descriptions from text that may have markup or other stuff that needs removing from short descriptions.

Ported from Wikipedia.

Usage

{{ plain text | <text to convert> }}

Examples

Code Result
{{plain text|'''[[foo|bar]]''' is '''''[[baz]]'''''<nowiki>?</nowiki>}} bar is baz
{{plain text|{{item|Guide}} with <pre>text</pre>}} Guide with