Hierarchical form tree: Difference between revisions

From Visual Data Wiki
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)
 
(6 intermediate revisions by the same user not shown)
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 ==
<div style="max-width: 1000px; margin: 0 auto; ">
<div style="margin-bottom: 10px">
{{#visualdataform: School district
{{#visualdataform: School district
|title = Add School District
|title = Add School District
|action = create
|action = create
|edit-page =
|edit-page =  
|return-page = Schools
|return-page = {{FULLPAGENAME}}
|view = popup
|view = popup
|popup-size = larger
|popup-size = medium
|css-class =
|css-class =
|pagename-formula = <name>
|pagename-formula = school_district/<id increment>
|edit-freetext = false
|edit-freetext = false
|edit-categories = false
|edit-categories = false
Line 18: Line 33:
|preload-data =  
|preload-data =  
|layout-align = top
|layout-align = top
|popup-help = true
|popup-help = false
|submit-button-text =
|submit-button-text =
|layout =
|layout =
Line 24: Line 39:
|validate-button-text =
|validate-button-text =
}}
}}
</div>


{{#visualdataquery:[[name::+]]
{{#visualdataquery:[[belongs to::{{{articleid}}}]]
|?articleid
|?belongs to
|?name
|?name
|?school district manager
|?school district manager
Line 33: Line 51:
|template=school district
|template=school district
}}
}}
</div>


__NOTOC__ __NOEDITSECTION__
__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)

form is loading...

School: School 1

  • School principal:
  • No. of pupils: {{{number of pupils}}}

(articleid: 585)

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)

form is loading...


School: [[School/552|]]

  • School principal:
  • No. of pupils: {{{number of pupils}}}

(articleid: 609)

form is loading...


School: [[School/589|]]

  • School principal:
  • No. of pupils: {{{number of pupils}}}

(articleid: 610)

form is loading...


School District: Second school district

  • School district manager: Mr. Second
  • No. of pupils: {{{number of pupils}}}

(articleid: 218)

form is loading...


School District: [[Pre-select form tab (if multiple schemas)|]]

  • School district manager:
  • No. of pupils: {{{number of pupils}}}

(articleid: 598)

form is loading...


School District: School District 3

  • School district manager:
  • No. of pupils: {{{number of pupils}}}

(articleid: 613)

form is loading...