Template:VisualDataPrint

From Arks-Visiphone
Revision as of 01:45, 24 April 2024 by 127.0.0.1 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{VisualDataPrint
|schema = 
|separator = 
|values-separator = 
|template = 
|limit = 
|offset = 
|order = 
|format = 
|pagetitle = 
|pagetitle-name = 
|articleid-name = 
}}

Attention! VisualEditor won't handle the template correctly if it contains new lines!! <templatedata> {

   "description": "A parser function to print article-related data",
   "params": {
       "schema": {
           "label": "schema",
           "description": "",
           "type": "string",
           "required": true,
           "default": "",
           "example": ""
       },
       "separator": {
           "label": "separator",
           "description": "",
           "type": "string",
           "required": false,
           "default": "",
           "example": ""
       },
       "values-separator": {
           "label": "values-separator",
           "description": "",
           "type": "string",
           "required": false,
           "default": ", ",
           "example": ""
       },
       "template": {
           "label": "template",
           "description": "",
           "type": "string",
           "required": false,
           "default": "",
           "example": ""
       },
       "limit": {
           "label": "limit",
           "description": "",
           "type": "number",
           "required": false,
           "default": "100",
           "example": ""
       },
       "offset": {
           "label": "offset",
           "description": "",
           "type": "number",
           "required": false,
           "default": "0",
           "example": ""
       },
       "order": {
           "label": "order",
           "description": "",
           "type": "string",
           "required": false,
           "default": "",
           "example": ""
       },
       "format": {
           "label": "format",
           "description": "",
           "type": "string",
           "required": true,
           "default": "",
           "example": ""
       },
       "pagetitle": {
           "label": "pagetitle",
           "description": "show/hide pagetitle",
           "type": "boolean",
           "required": false,
           "default": "1",
           "example": ""
       },
       "pagetitle-name": {
           "label": "pagetitle-name",
           "description": "",
           "type": "string",
           "required": false,
           "default": "pagetitle",
           "example": ""
       },
       "articleid-name": {
           "label": "articleid-name",
           "description": "",
           "type": "string",
           "required": false,
           "default": "articleid",
           "example": ""
       }
   }

} </templatedata>