Template:VisualDataPrint: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|values-separator = | |values-separator = | ||
|template = | |template = | ||
|module = | |||
|limit = | |limit = | ||
|offset = | |offset = | ||
Line 11: | Line 12: | ||
|format = | |format = | ||
|pagetitle = | |pagetitle = | ||
|debug = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 45: | Line 47: | ||
"template": { | "template": { | ||
"label": "template", | "label": "template", | ||
"description": "", | |||
"type": "string", | |||
"required": false, | |||
"default": "", | |||
"example": "" | |||
}, | |||
"module": { | |||
"label": "module", | |||
"description": "", | "description": "", | ||
"type": "string", | "type": "string", | ||
Line 89: | Line 99: | ||
"required": false, | "required": false, | ||
"default": "page title", | "default": "page title", | ||
"example": "" | |||
}, | |||
"debug": { | |||
"label": "⧼visualdata-parserfunction-query-debug-label⧽", | |||
"description": "⧼visualdata-parserfunction-query-debug-description⧽", | |||
"type": "bool", | |||
"required": false, | |||
"default": false, | |||
"example": "" | "example": "" | ||
} | } | ||
Line 95: | Line 113: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#visualdataprint:{{{schema}}}|separator = {{{separator|}}}|values-separator = {{{values-separator|, }}}|template = {{{template|}}}|limit = {{{limit|100}}}|offset = {{{offset|}}}|order = {{{order|}}}|format = {{{format|}}}|pagetitle = {{{pagetitle|page title}}} }} | <includeonly>{{#visualdataprint:{{{schema}}}|separator = {{{separator|}}}|values-separator = {{{values-separator|, }}}|template = {{{template|}}}|module = {{{module|}}}|limit = {{{limit|100}}}|offset = {{{offset|}}}|order = {{{order|}}}|format = {{{format|}}}|pagetitle = {{{pagetitle|page title}}}|debug = {{{debug|}}} }} | ||
</includeonly> | </includeonly> | ||
Revision as of 20:13, 22 December 2024
{{VisualDataPrint |schema = |separator = |values-separator = |template = |module = |limit = |offset = |order = |format = |pagetitle = |debug = }}
Attention! VisualEditor won't handle the template correctly if it contains new lines!!