Template:School: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="margin: 0 0 20px 50px;"> | <div style="margin: 0 0 20px 50px;"> | ||
<div style= "border: 1px solid #ccc; border-left: 7px solid green; margin-bottom: 10px; padding: 0 30px 30px; background: #fcfcfc"> | <div style= "border: 1px solid #ccc; border-left: 7px solid green; margin-bottom: 10px; padding: 0 30px 30px; background: #fcfcfc"> | ||
==== School: '''[[{{{pagetitle}}}|{{{name}}}]]''' ==== | ==== School: '''[[{{{pagetitle|}}}|{{{name|}}}]]''' ==== | ||
* '''School principal:''' {{{school principal}}} | * '''School principal:''' {{{school principal|}}} | ||
* '''No. of pupils:''' {{{ | * '''No. of pupils:''' {{{number_of_pupils|}}} | ||
(articleid: {{{articleid}}}) | |||
(belongs to: {{{belongs to|}}}) | |||
(articleid: {{{articleid|}}}) | |||
{{#visualdataform: School | |||
|title = Edit school | |||
|action = edit | |||
|edit-page ={{{pagetitle}}} | |||
|return-page = Demo_VisualData/Nested_schemas | |||
|view = popup | |||
|popup-size = medium | |||
|css-class = | |||
|pagename-formula = | |||
|edit-freetext = false | |||
|edit-categories = false | |||
|edit-content-model = false | |||
|edit-target-slot = false | |||
|target-slot = main | |||
|default-categories = | |||
|default-content-model = json | |||
|preload-data = | |||
|layout-align = top | |||
|popup-help = false | |||
|submit-button-text = | |||
|layout = | |||
|submit-button-text = | |||
|validate-button-text = | |||
}} | |||
</div> | </div> | ||
Line 12: | Line 41: | ||
|action = create | |action = create | ||
|edit-page = | |edit-page = | ||
|return-page = | |return-page = Demo_VisualData/Nested_schemas | ||
|view = popup | |view = popup | ||
|popup-size = medium | |popup-size = medium | ||
Line 37: | Line 66: | ||
{{#visualdataquery:[[belongs to::{{{articleid}}}]] | {{#visualdataquery:[[belongs to::{{{articleid}}}]] | ||
|?articleid | |||
|?belongs to | |||
|?class | |?class | ||
|?class teacher | |?class teacher | ||
|? | |?number_of_pupils | ||
|schema = School class | |schema = School class | ||
|format=template | |format=template |
Latest revision as of 11:14, 27 September 2024
School: [[|]]
- School principal:
- No. of pupils:
(belongs to: ) (articleid: )
form is loading...
form is loading...