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.
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