Module:Plain text/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{High-use}} {{Documentation subpage}} {{#ifeq:{{NAMESPACE}}|Template|{{Lua|Module:Plain text}}}}{{#ifeq:{{NAMESPACE}}|Module|{{Lua|Module:Yesno}}}} {{#ifeq:{{NAMESPACE}}|Module|Implements {{Tl|Plain text}}.{{sp}}}}Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions. == Usage == ;Code: :<code><nowiki>'''hah'''<sup>e</sup> <span style="color:red">is</span> '''''gah'''''<nowi..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{#ifeq:{{NAMESPACE}}|Template|{{Lua|Module:Plain text}}}}{{#ifeq:{{NAMESPACE}}|Module|{{Lua|Module:Yesno}}}} | {{#ifeq:{{NAMESPACE}}|Template|{{Lua|Module:Plain text}}}}{{#ifeq:{{NAMESPACE}}|Module|{{Lua|Module:Yesno}}}} | ||
| Line 17: | Line 16: | ||
{{Navbox wikitext-handling templates}} | {{Navbox wikitext-handling templates}} | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
[[Category:Modules]] | |||
[[Category:Modules that manipulate strings]] | [[Category:Modules that manipulate strings]] | ||
[[Category:Wikitext processing templates]] | [[Category:Wikitext processing templates]] | ||
[[Category:WikiProject Short descriptions]] | [[Category:WikiProject Short descriptions]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[ | [[Category:Module documents]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:31, 10 March 2025
| This is a documentation subpage for Module:Plain text. It may contain usage information, categories and other content that is not part of the original module page. |
| Uses Lua: |
Implements {{Plain text}}. Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions.
Usage
- Code
'''[[Foo|hah]]'''<sup>e</sup> <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>→- hahe is gah?
- Using module
{{#invoke:Plain text|main|1='''[[Foo|hah]]'''<sup>e</sup> <span style="color:red">is</span> '''''[[gah]]'''''<nowiki>?</nowiki>}}→- hahe is gah