Hierarchical form tree: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
==== VisualData schemas ==== | |||
* [[VisualDataSchema:School_district]] | |||
* [[VisualDataSchema:School]] | |||
* [[VisualDataSchema:School_class]] | |||
==== Nested Templates ==== | |||
* [[Template:School_district]] | |||
** [[Template:School]] | |||
*** [[Template:School_class]] | |||
== Output == | |||
{{#querylink:User:Filburt/Nested_Schemas_and_Templates_Example|Purge Page Cache|action=purge}} | |||
<div style="max-width: 1000px; margin: 0 auto; "> | |||
<div style="margin-bottom: 10px"> | <div style="margin-bottom: 10px"> | ||
{{#visualdataform: School district | {{#visualdataform: School district | ||
Line 4: | Line 20: | ||
|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 19: | Line 35: | ||
|preload-data = | |preload-data = | ||
|layout-align = top | |layout-align = top | ||
|popup-help = | |popup-help = false | ||
|submit-button-text = | |submit-button-text = | ||
|layout = | |layout = | ||
Line 27: | Line 43: | ||
</div> | </div> | ||
{{#visualdataquery:[[belongs to::{{{ | {{#visualdataquery:[[belongs to::{{{articleid}}}]] | ||
|?articleid | |||
|?belongs to | |||
|?name | |?name | ||
|?school district manager | |?school district manager | ||
Line 35: | Line 53: | ||
|template=school district | |template=school district | ||
}} | }} | ||
</div> | |||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ |
Revision as of 07:09, 14 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...