| Latest revision |
Your text |
| Line 1: |
Line 1: |
| If a page has multiple form schemas attached, you can pre-select the active tab with the parameter <code>selected-schema</code>
| |
|
| |
|
| <syntaxhighlight lang="wikitext">
| |
| ...
| |
| |selected-schema = School class
| |
| ...
| |
| </syntaxhighlight>
| |
|
| |
| {{#visualdataform: School district, School, School class
| |
| |title = Edit
| |
| |action = edit
| |
| |edit-page = {{{pagetitle}}}
| |
| |return-page = {{FULLPAGENAME}}
| |
| |view = popup
| |
| |popup-size = larger
| |
| |css-class =
| |
| |edit-freetext = false
| |
| |edit-categories = false
| |
| |edit-content-model = false
| |
| |edit-target-slot = false
| |
| |layout-align = top
| |
| |popup-help = true
| |
| |submit-button-text =
| |
| |layout =
| |
| |submit-button-text =
| |
| |validate-button-text =
| |
| |selected-schema = School class
| |
| }}
| |
| Line 1: |
Line 1: |
| { | | { |
| "schemas": { | | "schemas": { |
| "School district": {
| |
| "name": "",
| |
| "school district manager": "",
| |
| "id increment": "275"
| |
| },
| |
| "School": { | | "School": { |
| "belongs to": "216", | | "belongs to": "216", |
| Line 12: |
Line 7: |
| "school principal": "", | | "school principal": "", |
| "teachers": [], | | "teachers": [], |
| "id increment": "276" | | "id increment": "272" |
| },
| |
| "School class": {
| |
| "belongs to": "585",
| |
| "class": "",
| |
| "class teacher": "",
| |
| "number of pupils": 20,
| |
| "id increment": "277"
| |
| } | | } |
| }, | | }, |
| "schemas-data": { | | "schemas-data": { |
| "untransformed": { | | "untransformed": { |
| "School district/id increment": "", | | "School/id increment": "" |
| "School/id increment": "",
| |
| "School class/id increment": ""
| |
| } | | } |
| } | | } |
| } | | } |