Converts a collection of wikitext, templates and function calls to a combined wikitext document See the example object for the objCollection object structure
Parameters
collectionarray
Examples
let example = [
'==Pure Wikitext==',
{
template: 'Person',
params: {
email: 'rosalind.chan@optique.biz',
phone: '+1 (864) 421-2744'
}
},
{
function: '#set',
params: {
let1: 1,
let2: 'zwei'
}
}];Returns string
Escapes problematic wikitext characters
Parameters
wikitextstring
Returns string
Converts an object to a MediaWiki parser function call
Parameters
namestring name of the functionparamsobjectmainParamlineBreak
Returns string wikitext
Default settings
This converts a SPARQL JSON Result row (response.results.bindings) to a template
Parameters
templateNamerownameMap
Returns string
Converts an object to a wikitext template
Parameters
namestring name of the templateparamsobjectlineBreak
Returns string wikitext