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 |
||
(11 intermediate revisions by the same user 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; margin-bottom: 10px; padding: 0 30px 30px; background: # | <div style= "border: 1px solid #ccc; border-left: 7px solid green; margin-bottom: 10px; padding: 0 30px 30px; background: #fcfcfc"> | ||
=== School | ==== School: '''[[{{{pagetitle}}}|{{{name}}}]]''' ==== | ||
* '''School principal:''' {{{school principal}}} | * '''School principal:''' {{{school principal}}} | ||
* '''No. of pupils:''' {{{number of pupils}}} | * '''No. of pupils:''' {{{number of pupils}}} | ||
(articleid: {{{articleid}}}) | |||
</div> | </div> | ||
<div style="margin | <div style="margin: 10px 0 10px 50px;"> | ||
{{#visualdataform: | {{#visualdataform: School class | ||
|title = Add Class | |title = Add Class | ||
|action = create | |action = create | ||
|edit-page = | |edit-page = | ||
|return-page = | |return-page = User:Filburt/Nested_Schemas_and_Templates_Example | ||
|view = popup | |view = popup | ||
|popup-size = | |popup-size = medium | ||
|css-class = | |css-class = | ||
|pagename-formula = < | |pagename-formula = class/<id increment> | ||
|edit-freetext = false | |edit-freetext = false | ||
|edit-categories = false | |edit-categories = false | ||
Line 26: | Line 27: | ||
|preload = | |preload = | ||
|preload-data = | |preload-data = | ||
|preload-data?belongs to= {{{articleid}}} | |||
|layout-align = top | |layout-align = top | ||
|popup-help = | |popup-help = false | ||
|submit-button-text = | |submit-button-text = | ||
|layout = | |layout = | ||
Line 35: | Line 37: | ||
</div> | </div> | ||
{{#visualdataquery: | {{#visualdataquery:[[belongs to::{{{articleid}}}]] | ||
|? | |?class | ||
|?class teacher | |?class teacher | ||
|?number of pupils | |?number of pupils | ||
|schema = School class | |schema = School class | ||
|format=template | |format=template | ||
|template=School | |template=School class | ||
}} | }} | ||
</div> |
Latest revision as of 08:56, 25 March 2024
School: [[{{{pagetitle}}}|{{{name}}}]][edit source]
- School principal: {{{school principal}}}
- No. of pupils: {{{number of pupils}}}
(articleid: {{{articleid}}})
Required json-diff library is not installed. Run composer in the extension folder to enable preload-data
form is loading...