Template:VisualDataPrint: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
|values-separator =  
|values-separator =  
|template =  
|template =  
|module =
|limit =  
|limit =  
|offset =  
|offset =  
Line 11: Line 12:
|format =  
|format =  
|pagetitle =  
|pagetitle =  
|pagetitle-name =
|debug =  
|articleid-name =  
}}
}}
</pre>
</pre>
Line 47: 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 87: Line 95:
         "pagetitle": {
         "pagetitle": {
             "label": "pagetitle",
             "label": "pagetitle",
            "description": "show/hide pagetitle",
            "type": "boolean",
            "required": false,
            "default": "1",
            "example": ""
        },
        "pagetitle-name": {
            "label": "pagetitle-name",
             "description": "",
             "description": "",
             "type": "string",
             "type": "string",
             "required": false,
             "required": false,
             "default": "pagetitle",
             "default": "page title",
             "example": ""
             "example": ""
         },
         },
         "articleid-name": {
         "debug": {
             "label": "articleid-name",
             "label": "⧼visualdata-parserfunction-query-debug-label⧽",
             "description": "",
             "description": "⧼visualdata-parserfunction-query-debug-description⧽",
             "type": "string",
             "type": "bool",
             "required": false,
             "required": false,
             "default": "articleid",
             "default": false,
             "example": ""
             "example": ""
         }
         }
Line 113: 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|1}}}|pagetitle-name = {{{pagetitle-name|pagetitle}}}|articleid-name = {{{articleid-name|articleid}}} }}
<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>



Latest revision as of 20:14, 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!!

Property "params.debug.default" is expected to be of type "string|object".