VisualDataSchema:Images: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
                     "new_content_block": {
                     "new_content_block": {
                         "wiki": {
                         "wiki": {
                            "type": "content-block",
                             "name": "new_content_block",
                             "name": "new_content_block",
                            "description": "\u003Cspan typeof=\"mw:File\"\u003E\u003Cspan\u003E\u003Cimg src=\"/images/thumb/8/81/Animal-4691724_1920.jpg/300px-Animal-4691724_1920.jpg\" decoding=\"async\" width=\"300\" height=\"200\" class=\"mw-file-element\" srcset=\"/images/thumb/8/81/Animal-4691724_1920.jpg/450px-Animal-4691724_1920.jpg 1.5x, /images/thumb/8/81/Animal-4691724_1920.jpg/600px-Animal-4691724_1920.jpg 2x\" data-file-width=\"1920\" data-file-height=\"1280\" /\u003E\u003C/span\u003E\u003C/span\u003E",
                             "content": "[[File:animal-4691724_1920.jpg|300px|link=]]\n\u003Cvalue\u003E"
                            "type": "content-block",
                             "content": "[[File:animal-4691724_1920.jpg|300px|link=]]"
                         },
                         },
                         "type": "object",
                         "type": "object",
                         "description": "\u003Cspan typeof=\"mw:File\"\u003E\u003Cspan\u003E\u003Cimg src=\"/images/thumb/8/81/Animal-4691724_1920.jpg/300px-Animal-4691724_1920.jpg\" decoding=\"async\" width=\"300\" height=\"200\" class=\"mw-file-element\" srcset=\"/images/thumb/8/81/Animal-4691724_1920.jpg/450px-Animal-4691724_1920.jpg 1.5x, /images/thumb/8/81/Animal-4691724_1920.jpg/600px-Animal-4691724_1920.jpg 2x\" data-file-width=\"1920\" data-file-height=\"1280\" /\u003E\u003C/span\u003E\u003C/span\u003E"
                         "description": "\u003Cspan typeof=\"mw:File\"\u003E\u003Cspan\u003E\u003Cimg src=\"/images/thumb/8/81/Animal-4691724_1920.jpg/300px-Animal-4691724_1920.jpg\" decoding=\"async\" width=\"300\" height=\"200\" class=\"mw-file-element\" srcset=\"/images/thumb/8/81/Animal-4691724_1920.jpg/450px-Animal-4691724_1920.jpg 1.5x, /images/thumb/8/81/Animal-4691724_1920.jpg/600px-Animal-4691724_1920.jpg 2x\" data-file-width=\"1920\" data-file-height=\"1280\" /\u003E\u003C/span\u003E\u003C/span\u003E\n\u003Cvalue\u003E"
                     },
                     },
                     "image": {
                     "image": {

Revision as of 16:38, 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
new_content_block
wiki
type"content-block"
name"new_content_block"
content"[[File:animal-4691724_1920.jpg|300px|link=]] <value>"
type"object"
description"<span typeof="mw:File"><span><img src="/images/thumb/8/81/Animal-4691724_1920.jpg/300px-Animal-4691724_1920.jpg" decoding="async" width="300" height="200" class="mw-file-element" srcset="/images/thumb/8/81/Animal-4691724_1920.jpg/450px-Animal-4691724_1920.jpg 1.5x, /images/thumb/8/81/Animal-4691724_1920.jpg/600px-Animal-4691724_1920.jpg 2x" data-file-width="1920" data-file-height="1280" /></span></span> <value>"
image
wiki
name"image"
type"property"
multiple-itemsfalse
requiredtrue
input-config
accept
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/webp"
droppabletrue
showDropTargettrue
value-prefix"File:"
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
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"
required
"image"
type"array"
uniqueItemstrue
type"object"