Difference between revisions of "Template:Expand wikitext/doc"
Jump to navigation
Jump to search
imported>Pppery (Per RM discussion on talk) |
imported>Ans (→Example: +) |
||
| Line 4: | Line 4: | ||
== Example == | == Example == | ||
| − | <code>{{((}}Expand wikitext|{{tlp|Make code|<<As of!2015>>}}{{))}}</code> → {{Expand wikitext|{{Make code|<<As of!2015>>}}}} | + | <code>{{((}}Expand wikitext|{{tlp|Make code|<<As of!2015!02>>}}{{))}}</code> → {{Expand wikitext|{{Make code|<<As of!2015!02>>}}}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
[[Category:Documentation assistance templates]] | [[Category:Documentation assistance templates]] | ||
[[Category:Wikitext processing templates]] | [[Category:Wikitext processing templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 07:35, 5 February 2020
| 40px | This is a documentation subpage for Template:Expand wikitext. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Interprets the input as wikitext using the frame:preprocess function. If the entire input is in a nowiki tag, or if the optional parameter |unstrip=yes is specified, first extracts the contents of nowiki tags before preprocessing. Any arguments passed to {{preprocess}} are available in the preprocessed code, letting this be used as a rudimentary way of using variables.
Example
{{Expand wikitext|{{Make code|<<As of!2015!02>>}}}} → Template:MultiReplace