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
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== Used VisualData schemas ====
==== VisualData schemas ====    
* [[VisualDataSchema:School_district]]
* [[VisualDataSchema:School_district]]
* [[VisualDataSchema:School]]
* [[VisualDataSchema:School]]
* [[VisualDataSchema:School_class]]
* [[VisualDataSchema:School_class]]


==== Used Templates ====
==== Nested Templates ====
* [[Template:School_district]]
* [[Template:School_district]]
* [[Template:School]]
** [[Template:School]]
* [[Template:School_class]]
*** [[Template:School_class]]




== 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 22: Line 22:
|return-page = {{FULLPAGENAME}}  
|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 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

Latest 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

(articleid: 1885)


form is loading...


form is loading...

School: school a

  • School principal: school a principal
  • No. of pupils: 230

(belongs to: 1885) (articleid: 1886)


form is loading...
form is loading...
Class: class a school a
  • Teacher: class a school a teacher a

(belongs to: 1886) (articleid: 1887)


form is loading...


School: School b

  • School principal: Principal of school b
  • No. of pupils: 180

(belongs to: 1885) (articleid: 1888)


form is loading...
form is loading...
Class: Class of school b
  • Teacher: Teacher of school b

(belongs to: 1888) (articleid: 1889)


form is loading...


School: school c

  • School principal:
  • No. of pupils: 500

(belongs to: 1885) (articleid: 1890)


form is loading...
form is loading...
Class: class c-1
  • Teacher:

(belongs to: 1890) (articleid: 1891)


form is loading...