API:Expandtemplates

Prefix: None Required Rights: None POST Only? No

This module expands all templates in the wikitext.

Parameters

 * title – Title of page.
 * text – Wikitext to convert . Type: string
 * prop – Which pieces of information to get. A pipe character  separated list containing one or more of the following options:
 * wikitext – The expanded wikitext.
 * categories – Any categories present in the input that are not represented in the wikitext output.
 * volatile – Whether the output is volatile and should not be reused elsewhere within the page.
 * parsetree – The XML parse tree of the input.
 * Note that if prop is not set, the result will contain the wikitext, but the output will be in a deprecated format.
 * includecomments – Whether to include HTML comments in the output . Type: bool
 * generatexml – Generate XML parse tree. Deprecated; use prop=parsetree instead . Type: bool

Errors Codes

 * readapidenied – You need read permission to use this module.