Private
This interface defines the static members of the RawTemplate class. For instance members, see RawTemplate (defined separately due to TypeScript limitations).
RawTemplate
This class is exclusive to Wikitext.parseTemplates. It represents a malformed {{template}} markup with an invalid title. For the class that represents a well-formed {{template}} markup, see ParsedTemplateStatic (and ParsedParserFunctionStatic).
{{template}}
This class differs from ParsedTemplate in that:
The constructor of this class is inaccessible, and instances can only be referenced in the result of parseTemplates.
parseTemplates
To check if an object is an instance of this class, use TemplateStatic.is.
Important:
The instance properties of this class are pseudo-read-only, in the sense that altering them does not affect the behaviour of Wikitext.modifyTemplates.
Optional
This interface defines the static members of the
RawTemplate
class. For instance members, see RawTemplate (defined separately due to TypeScript limitations).This class is exclusive to Wikitext.parseTemplates. It represents a malformed
{{template}}
markup with an invalid title. For the class that represents a well-formed{{template}}
markup, see ParsedTemplateStatic (and ParsedParserFunctionStatic).This class differs from ParsedTemplate in that:
The constructor of this class is inaccessible, and instances can only be referenced in the result of
parseTemplates
.To check if an object is an instance of this class, use TemplateStatic.is.
Important:
The instance properties of this class are pseudo-read-only, in the sense that altering them does not affect the behaviour of Wikitext.modifyTemplates.