Template:School: 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
 
(13 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; margin-bottom: 10px; padding: 0 30px 30px; background: #eef4d7ff; ">
<div style= "border: 1px solid #ccc; border-left: 7px solid green; margin-bottom: 10px; padding: 0 30px 30px; background: #fcfcfc">
=== School ===
==== School: '''[[{{{pagetitle|}}}|{{{name|}}}]]''' ====
* '''Name:''' [[{{{pagetitle}}}|{{{name}}}]]
* '''School principal:''' {{{school principal|}}}
* '''School principal:''' {{{school principal}}}
* '''No. of pupils:''' {{{number_of_pupils|}}}
* '''No. of pupils:''' {{{number of pupils}}}
 
(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 = User:Filburt/Nested_Schemas_and_Templates_Example
|return-page = Demo_VisualData/Nested_schemas
|view = popup
|view = popup
|popup-size = medium
|popup-size = medium
|css-class =
|css-class =
|pagename-formula = <class>
|pagename-formula = class/<id increment>
|edit-freetext = false
|edit-freetext = false
|edit-categories = false
|edit-categories = false
Line 26: Line 55:
|preload =  
|preload =  
|preload-data =  
|preload-data =  
|preload-data?belongs to= {{{name}}}
|preload-data?belongs to= {{{articleid}}}
|layout-align = top
|layout-align = top
|popup-help = true
|popup-help = false
|submit-button-text =
|submit-button-text =
|layout =
|layout =
Line 36: Line 65:
</div>
</div>


{{#visualdataquery:[[belongs to::{{{name}}}]]
{{#visualdataquery:[[belongs to::{{{articleid}}}]]
|?articleid
|?belongs to
|?class
|?class
|?class teacher
|?class teacher
|?number of pupils
|?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...