VisualDataSchema:Images: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
                                 ],
                                 ],
                                 "droppable": true,
                                 "droppable": true,
                                 "icon": "",
                                 "placeholder": ""
                                "showDropTarget": true,
                                "thumbnailSizeLimit": 2
                             },
                             },
                             "required": true
                             "required": true
Line 56: Line 54:
                         "type": "string",
                         "type": "string",
                         "format": "text"
                         "format": "text"
                    },
                    "new_content_block": {
                        "wiki": {
                            "name": "new_content_block",
                            "description": "Objective: Test PageIDObjective: fgh",
                            "type": "content-block",
                            "content": "{{#visualdataquery:[[name::{{PAGEID}}]]\n|?project_objective\n|schema=Project Key Data\n|format=template\n|template=project\n}}"
                        },
                        "type": "object",
                        "description": "Objective: Test PageIDObjective: fgh"
                     }
                     }
                 },
                 },

Revision as of 16:32, 23 February 2024

wiki
type"schema"
name"Images"
properties
image-container
wiki
name"image-container"
unique-itemstrue
type"schema"
items
type"object"
wiki
name"image"
type"schema"
layout"section"
properties
image
wiki
type"property"
name"image"
visibility"visible"
multiple-itemsfalse
preferred-input"OO.ui.SelectFileWidget"
input-config
accept
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/webp"
droppabletrue
placeholder""
requiredtrue
type"string"
format"text"
caption
wiki
name"caption"
type"property"
multiple-itemsfalse
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
new_content_block
wiki
name"new_content_block"
description"Objective: Test PageIDObjective: fgh"
type"content-block"
content"{{#visualdataquery:[[name::{{PAGEID}}]] |?project_objective |schema=Project Key Data |format=template |template=project }}"
type"object"
description"Objective: Test PageIDObjective: fgh"
required
"image"
type"array"
uniqueItemstrue
type"object"