Modul:Expand wikitext
Videz
Interprets the input as wikitext using the frame:preprocess function. Any arguments passed to {{Expand wikitext}} are available in the preprocessed code, letting this be used as a rudimentary way of using variables.
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. This feature does not work in the mobile app, visual editor, or Special:ExpandTemplates due to Phab:T203293.
Example
[uredi kodo]{{#invoke:expand wikitext|main|{{Make code|<<As of!2015!02>>}}}}→ Od februar 2015[update]{{#invoke:expand wikitext|main|<nowiki>{{Seznam epizod/sublist | 1 = About a Boy (TV serija) | EpisodeNumber = {{{ep}}} | Title = About Total Exuberance | OriginalAirDate = {{Date|2011-10-02 +{{#expr:({{{ep}}})-517}} weeks }} }} </nowiki>|ep=518}}→
{{#invoke:expand wikitext|main|<nowiki>{{2x|x}}-</nowiki>}}→ {{2x|x}}-{{#invoke:expand wikitext|main|<nowiki>{{2x|x}} -</nowiki>}}→ Predloga:2x -{{#invoke:expand wikitext|main|<nowiki><u>u</u><ref>text</ref></nowiki>}}→ <u>u</u><ref>text</ref>
| Zgornja dokumentacija je vključena iz Modul:Expand wikitext/dok. (uredi | zgodovina) Urejevalci lahko preizkušate ta modul v peskovniku (ustvari | mirror) in testnihprimerih (ustvari). Prosimo, da dodate kategorije v /dok podstran. Podstrani te predloge. |