Nested Schemas and Templates Example: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== VisualData schemas ====
==== VisualData schemas ====    
* [[VisualDataSchema:School_district]]
* [[VisualDataSchema:School_district]]
* [[VisualDataSchema:School]]
* [[VisualDataSchema:School]]
Line 12: Line 12:
== Output ==
== Output ==


[https://wikisphere.org/wiki/User:Filburt/Nested_Schemas_and_Templates_Example?action=purge Purge Page Cache]
{{#querylink:User:Filburt/Nested_Schemas_and_Templates_Example|Purge Page Cache|action=purge}}


<div style="max-width: 1000px; margin: 0 auto; ">
<div style="max-width: 1000px; margin: 0 auto; ">
Line 24: Line 24:
|popup-size = medium
|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 35: Line 35:
|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 43: Line 43:
</div>
</div>


{{#visualdataquery:[[belongs to::{{{name}}}]]
{{#visualdataquery:[[belongs to::{{{articleid}}}]]
|?articleid
|?belongs to
|?name
|?name
|?school district manager
|?school district manager
|?number of pupils
|schema = School district
|schema = School district
|format = template
|format = template

Revision as of 19:57, 10 April 2024

VisualData schemas

Nested Templates


Output

Purge Page Cache

form is loading...

School District: district a

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

(articleid: 1885)

form is loading...

School: school a

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

(belongs to: 1885) (articleid: 1886)

form is loading...
Class: class a school a
  • Teacher: class a school a teacher a
  • No. of pupils: {{{number of pupils}}}

(belongs to: 1886) (articleid: 1887)

School: School b

  • School principal: Principal of school b
  • No. of pupils: {{{number of pupils}}}

(belongs to: 1885) (articleid: 1888)

form is loading...
Class: Class of school b
  • Teacher: Teacher of school b
  • No. of pupils: {{{number of pupils}}}

(belongs to: 1888) (articleid: 1889)

School: school c

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

(belongs to: 1885) (articleid: 1890)

form is loading...
Class: class c-1
  • Teacher:
  • No. of pupils: {{{number of pupils}}}

(belongs to: 1890) (articleid: 1891)