Hierarchical form tree: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
m (Uschuetzenmeister moved page Schools to Hierarchical form tree without leaving a redirect) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#visualdataform: School | ==== VisualData schemas ==== | ||
|title = Add School | * [[VisualDataSchema:School_district]] | ||
* [[VisualDataSchema:School]] | |||
* [[VisualDataSchema:School_class]] | |||
==== Nested Templates ==== | |||
* [[Template:School_district]] | |||
** [[Template:School]] | |||
*** [[Template:School_class]] | |||
== Output == | |||
<div style="max-width: 1000px; margin: 0 auto; "> | |||
<div style="margin-bottom: 10px"> | |||
{{#visualdataform: School district | |||
|title = Add School District | |||
|action = create | |action = create | ||
|edit-page = | |edit-page = | ||
|return-page = | |return-page = {{FULLPAGENAME}} | ||
|view = popup | |view = popup | ||
|popup-size = | |popup-size = medium | ||
|css-class = | |css-class = | ||
|pagename-formula = < | |pagename-formula = school_district/<id increment> | ||
|edit-freetext = false | |edit-freetext = false | ||
|edit-categories = false | |edit-categories = false | ||
Line 15: | Line 30: | ||
|default-categories = | |default-categories = | ||
|default-content-model = json | |default-content-model = json | ||
|preload = | |||
|preload-data = | |preload-data = | ||
|layout-align = top | |layout-align = top | ||
|popup-help = | |popup-help = false | ||
|submit-button-text = | |submit-button-text = | ||
|layout = | |layout = | ||
Line 23: | Line 39: | ||
|validate-button-text = | |validate-button-text = | ||
}} | }} | ||
</div> | |||
{{#visualdataquery:[[ | {{#visualdataquery:[[belongs to::{{{articleid}}}]] | ||
|?articleid | |||
|?belongs to | |||
|?name | |?name | ||
|?school | |?school district manager | ||
|?number of pupils | |?number of pupils | ||
|schema = School | |schema = School district | ||
|format = template | |format = template | ||
|template=school | |template=school district | ||
}} | }} | ||
</div> | |||
__NOTOC__ __NOEDITSECTION__ |
Latest revision as of 06:32, 16 May 2024
VisualData schemas
Nested Templates
Output
form is loading...
School District: First school district
- School district manager: Mr. Meier
- No. of pupils: {{{number of pupils}}}
(articleid: 216)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
Class: Class 1
- Teacher:
- No. of pupils: 21
Class: [[Pre-select form tab (if multiple schemas)|]]
- Teacher:
- No. of pupils: 20
School: [[Pre-select form tab (if multiple schemas)|]]
- School principal:
- No. of pupils: {{{number of pupils}}}
(articleid: 598)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
School: [[School/552|]]
- School principal:
- No. of pupils: {{{number of pupils}}}
(articleid: 609)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
School: [[School/589|]]
- School principal:
- No. of pupils: {{{number of pupils}}}
(articleid: 610)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
School District: Second school district
- School district manager: Mr. Second
- No. of pupils: {{{number of pupils}}}
(articleid: 218)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
School District: [[Pre-select form tab (if multiple schemas)|]]
- School district manager:
- No. of pupils: {{{number of pupils}}}
(articleid: 598)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...
School District: School District 3
- School district manager:
- No. of pupils: {{{number of pupils}}}
(articleid: 613)
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...