Difference between revisions of "Module:Plain text/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Galobtter
(→‎Usage: fix)
blackwiki>Galobtter
(fix)
Line 2: Line 2:
 
Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions.
 
Developed for producing short descriptions from text that may have markup, or other stuff that needs removing from short descriptions.
 
== Usage ==
 
== Usage ==
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|[[foo|hah]] is [[gah]]}}</code> --> {{#invoke:{{BASEPAGENAME}}|main|[[foo|hah]] is [[gah]]}}
+
<code><nowiki>{{#invoke:Plain text|main|[[foo|hah]] is [[gah]]}}</nowiki></code> --> {{#invoke:Plain text|main|[[foo|hah]] is [[gah]]}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 07:35, 14 April 2018

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

Usage

{{#invoke:Plain text|main|[[foo|hah]] is [[gah]]}} --> hah is gah