VisualDataForm:Books: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
             "label": [
             "label": [
                 "Title"
                 "Title"
            ],
            "help-message": [
                "[[File:Download.jpeg|frameless]] some image"
             ],
             ],
             "property-model": "smw-property",
             "property-model": "smw-property",
Line 16: Line 13:
             "selectOptionsFrom": "options-values",
             "selectOptionsFrom": "options-values",
             "type": "property"
             "type": "property"
        },
        "New content block": {
            "label": [
                "New content block"
            ],
            "content": "[[File:Download.jpeg|frameless]] some image",
            "type": "content-block"
         },
         },
         "Author": {
         "Author": {
Line 29: Line 33:
             "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 06: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"
type"property"
New content block
label
"New content block"
content"[[File:Download.jpeg|frameless]] some image"
type"content-block"
Author
label
"Author"
help-message
"enter the author of the book"
property-model"smw-property"
SMW-property"Book"
preferred-input"mw.widgets.TitleInputWidget"
selectOptionsFrom"options-values"
requiredtrue
type"property"
help-message-result"enter the author of the book"
label-result"Author"
isFormtrue