Template:Expand wikitext/doc

Interprets the input as wikitext using the  function. If the entire input is in a nowiki tag, or if the optional parameter yes is specified, first extracts the contents of nowiki tags before preprocessing. Any arguments passed to undefined are available in the preprocessed code, letting this be used as a rudimentary way of using variables.