Hierarchical form tree: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#visualdataquery: |?name |?school district manager |?number of pupils |schema = School destrict |format = template |template=school destrict }} __NOCACHE__ __NOTOC__") Tag: 2017 source edit |
m (Uschuetzenmeister moved page Schools to Hierarchical form tree without leaving a redirect) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#visualdataquery: | ==== VisualData schemas ==== | ||
* [[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 | |||
|edit-page = | |||
|return-page = {{FULLPAGENAME}} | |||
|view = popup | |||
|popup-size = medium | |||
|css-class = | |||
|pagename-formula = school_district/<id increment> | |||
|edit-freetext = false | |||
|edit-categories = false | |||
|edit-content-model = false | |||
|edit-target-slot = false | |||
|target-slot = main | |||
|default-categories = | |||
|default-content-model = json | |||
|preload = | |||
|preload-data = | |||
|layout-align = top | |||
|popup-help = false | |||
|submit-button-text = | |||
|layout = | |||
|submit-button-text = | |||
|validate-button-text = | |||
}} | |||
</div> | |||
{{#visualdataquery:[[belongs to::{{{articleid}}}]] | |||
|?articleid | |||
|?belongs to | |||
|?name | |?name | ||
|?school district manager | |?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...