Template:School district: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#visualdataform: School |title = Schools |action = create |edit-page = |return-page = Schools |view = popup |popup-size = larger |css-class = |pagename-formula = <name> |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 = true |submit-button-text = |layout = |submit-button-text = |validate-button-t...") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="margin: 0 0 20px"> | |||
<div style= "border: 1px solid #ccc; border-left: 7px solid red; padding: 0 30px 30px; background: #fcfcfc"> | |||
=== School District: '''[[{{{pagetitle}}}|{{{name}}}]]''' === | |||
* '''School district manager:''' {{{school district manager}}} | |||
* '''No. of pupils:''' {{{number of pupils}}} | |||
(articleid: {{{articleid}}}) | |||
</div> | |||
<div style="margin: 10px 0 10px 50px;"> | |||
{{#visualdataform: School | {{#visualdataform: School | ||
|title = | |title = Add School | ||
|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 = school/<id increment> | ||
|edit-freetext = false | |edit-freetext = false | ||
|edit-categories = false | |edit-categories = false | ||
Line 16: | Line 26: | ||
|default-content-model = json | |default-content-model = json | ||
|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 23: | Line 34: | ||
|validate-button-text = | |validate-button-text = | ||
}} | }} | ||
</div> | |||
{{#visualdataquery: | {{#visualdataquery:[[belongs to::{{{articleid}}}]] | ||
|?name | |?name | ||
|?school principal | |?school principal | ||
Line 32: | Line 44: | ||
|template=School | |template=School | ||
}} | }} | ||
</div> |
Latest revision as of 08:56, 25 March 2024
School District: [[{{{pagetitle}}}|{{{name}}}]][edit source]
- School district manager: {{{school district manager}}}
- 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...