VisualDataSchema:Images: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
"new_content_block": { | "new_content_block": { | ||
"wiki": { | "wiki": { | ||
"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\n\u003Cvalue\u003E", | |||
"type": "content-block", | "type": "content-block", | ||
"content": "[[File:animal-4691724_1920.jpg|300px|link=]]\n\u003Cvalue\u003E" | "content": "[[File:animal-4691724_1920.jpg|300px|link=]]\n\u003Cvalue\u003E" | ||
}, | }, | ||
Line 30: | Line 31: | ||
"image": { | "image": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | |||
"name": "image", | "name": "image", | ||
" | "visibility": "visible", | ||
"multiple-items": false, | "multiple-items": false, | ||
" | "preferred-input": "OO.ui.SelectFileWidget", | ||
"input-config": { | "input-config": { | ||
"accept": [ | "accept": [ | ||
Line 43: | Line 45: | ||
], | ], | ||
"droppable": true, | "droppable": true, | ||
"showDropTarget": true | "showDropTarget": true, | ||
"inputFilter": "" | |||
}, | }, | ||
" | "required": true | ||
}, | }, | ||
"type": "string", | "type": "string", |
Revision as of 16:43, 23 February 2024
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |