VisualDataSchema:Images: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
"image": { | "image": { | ||
"wiki": { | "wiki": { | ||
"name": "image", | |||
"type": "property", | "type": "property", | ||
"multiple-items": false, | "multiple-items": false, | ||
" | "required": true, | ||
"input-config": { | "input-config": { | ||
"accept": [ | "accept": [ | ||
Line 37: | Line 36: | ||
"showDropTarget": true | "showDropTarget": true | ||
}, | }, | ||
" | "value-prefix": "File:", | ||
"visibility": "visible", | |||
"preferred-input": "OO.ui.SelectFileWidget" | |||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 57: | Line 58: | ||
"new_content_block": { | "new_content_block": { | ||
"wiki": { | "wiki": { | ||
"type": "content-block", | |||
"name": "new_content_block", | "name": "new_content_block", | ||
"content": "[[File:animal-4691724_1920.jpg]]" | |||
"content": " | |||
}, | }, | ||
"type": "object", | "type": "object", | ||
"description": " | "description": "\u003Cspan class=\"mw-default-size\" typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/File:Animal-4691724_1920.jpg\" class=\"mw-file-description\"\u003E\u003Cimg src=\"/images/8/81/Animal-4691724_1920.jpg\" decoding=\"async\" width=\"1920\" height=\"1280\" class=\"mw-file-element\" data-file-width=\"1920\" data-file-height=\"1280\" /\u003E\u003C/a\u003E\u003C/span\u003E" | ||
} | } | ||
}, | }, |
Revision as of 16:35, 23 February 2024
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |