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

From blackwiki
Jump to navigation Jump to search
blackwiki>Pppery
(Tfd tag (step 2))
blackwiki>Pppery
(Add more wikimarkup to example)
Line 3: Line 3:
 
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>{{#invoke:Plain text|main|[[foo|hah]] is [[gah]]}}</nowiki></code> --> {{#invoke:Plain text|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 17:59, 16 April 2018

Template:Template for discussion/dated 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