VisualDataForm:Books: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
"freetext-input": "do not show", | "freetext-input": "do not show", | ||
"content-model": "wikitext", | "content-model": "wikitext", | ||
"field-align": "left", | |||
"popup-help": true, | |||
"fields": { | "fields": { | ||
"Title": { | "Title": { | ||
"label": [ | "label": [ | ||
"Title" | "Title" | ||
], | |||
"help-message": [ | |||
"ab'''c'''" | |||
], | ], | ||
"property-model": "smw-property", | "property-model": "smw-property", | ||
"SMW-property": " | "SMW-property": "Title", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"selectOptionsFrom": "options-values", | "selectOptionsFrom": "options-values", | ||
"type": "property" | "required": true, | ||
"type": "property", | |||
"help-message-result": "ab\u003Cb\u003Ec\u003C/b\u003E", | |||
"label-result": "Title" | |||
}, | }, | ||
"New content block": { | "New content block": { | ||
Line 19: | Line 26: | ||
"New content block" | "New content block" | ||
], | ], | ||
"content": "[[File:Download.jpeg|frameless]]", | "content": "\u003Cdiv style=\"text-align:right\"\u003E\n[[File:Download.jpeg|frameless]]\n\u003C/div\u003E", | ||
"type": "content-block", | "type": "content-block", | ||
"content-result": "\u003Ca href=\"/wiki/File:Download.jpeg\" class=\"image\"\u003E\u003Cimg alt=\"Download.jpeg\" src=\"/w/media/Download.jpeg\" decoding=\"async\" width=\"248\" height=\"123\" data-file-width=\"248\" data-file-height=\"123\" /\u003E\u003C/a\u003E", | "content-result": "\u003Cdiv style=\"text-align:right\"\u003E\n\u003Cp\u003E\u003Ca href=\"/wiki/File:Download.jpeg\" class=\"image\"\u003E\u003Cimg alt=\"Download.jpeg\" src=\"/w/media/Download.jpeg\" decoding=\"async\" width=\"248\" height=\"123\" data-file-width=\"248\" data-file-height=\"123\" /\u003E\u003C/a\u003E\n\u003C/p\u003E\n\u003C/div\u003E", | ||
"label-result": "New content block", | "label-result": "New content block", | ||
" | "form": "Books" | ||
}, | }, | ||
"Author": { | "Author": { | ||
Line 33: | Line 40: | ||
], | ], | ||
"property-model": "smw-property", | "property-model": "smw-property", | ||
"SMW-property": " | "SMW-property": "Author", | ||
"preferred-input": " | "multiple-value": 1, | ||
"preferred-input": "OO.ui.TextInputWidget", | |||
"selectOptionsFrom": "options-values", | "selectOptionsFrom": "options-values", | ||
"required": true, | "required": true, | ||
Line 40: | Line 48: | ||
"help-message-result": "enter the author of the book", | "help-message-result": "enter the author of the book", | ||
"label-result": "Author", | "label-result": "Author", | ||
" | "form": "Books" | ||
}, | |||
"Test bug Taginput": { | |||
"label": [ | |||
"Test bug Taginput" | |||
], | |||
"help-message": [ | |||
"Try to add a tag, then open the dropdown again and click on more tags to select them and then click again on the tags to deselect them, then check browser console" | |||
], | |||
"property-model": "smw-property", | |||
"SMW-property": "Text", | |||
"multiple-value": true, | |||
"preferred-input": "OO.ui.MenuTagMultiselectWidget", | |||
"input-config": { | |||
"tagLimit": "1" | |||
}, | |||
"selectOptionsFrom": "options-values", | |||
"options-values": [ | |||
"a", | |||
"b", | |||
"c" | |||
], | |||
"type": "property" | |||
} | } | ||
} | } | ||
} | } |
Latest revision as of 10:44, 21 August 2023
pagename-formula | "Books/<Title>" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
freetext-input | "do not show" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
content-model | "wikitext" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
field-align | "left" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
popup-help | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fields |
|