VisualDataForm:Books: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
             "selectOptionsFrom": "options-values",
             "selectOptionsFrom": "options-values",
             "required": true,
             "required": true,
             "type": "property"
             "type": "property",
            "label-result": "Title",
            "isForm": true
         },
         },
         "New content block": {
         "New content block": {
Line 33: Line 35:
             ],
             ],
             "property-model": "smw-property",
             "property-model": "smw-property",
             "SMW-property": "Book",
             "SMW-property": "Author",
             "preferred-input": "mw.widgets.TitleInputWidget",
             "preferred-input": "OO.ui.TextInputWidget",
             "selectOptionsFrom": "options-values",
             "selectOptionsFrom": "options-values",
             "required": true,
             "required": true,
             "type": "property",
             "type": "property"
            "help-message-result": "enter the author of the book",
            "label-result": "Author",
            "isForm": true
         }
         }
     }
     }
}
}

Revision as of 08:45, 18 August 2023

pagename-formula"Books/<Title>"
freetext-input"do not show"
content-model"wikitext"
fields
Title
label
"Title"
property-model"smw-property"
SMW-property"Author"
preferred-input"OO.ui.TextInputWidget"
selectOptionsFrom"options-values"
requiredtrue
type"property"
label-result"Title"
isFormtrue
New content block
label
"New content block"
content"[[File:Download.jpeg|frameless]]"
type"content-block"
content-result"<a href="/wiki/File:Download.jpeg" class="image"><img alt="Download.jpeg" src="/w/media/Download.jpeg" decoding="async" width="248" height="123" data-file-width="248" data-file-height="123" /></a>"
label-result"New content block"
isFormtrue
Author
label
"Author"
help-message
"enter the author of the book"
property-model"smw-property"
SMW-property"Author"
preferred-input"OO.ui.TextInputWidget"
selectOptionsFrom"options-values"
requiredtrue
type"property"