Form:ModelForm: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(56 intermediate revisions by the same user not shown)
Line 7: Line 7:




{{#forminput:form=ModelForm|autocomplete on category=Model}}
{{#forminput:form=ModelInfoForm|autocomplete on category=Model}}
 
[[Category:ReferenceCardStructure]]
</noinclude><includeonly>
</noinclude><includeonly></includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|ModelTemplate}}}
{| class="formtable"
! Institution:
| {{{field|Institution|rows=1}}}
|-
! Country:
| {{{field|Country|rows=1}}}
|-
! Institution link:
| {{{field|InstitutionLink}}}
|-
! Model type:
| {{{field|ModelType|property=HasModelType|input type=checkboxes|mandatory}}}
|}
{{{end template}}}
 
== Socio-economic drivers ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"
! Exogenous drivers:
| style="vertical-align:top;"|{{{field|ExogenousDriverOption|input type=listbox|size=7}}}
| style="vertical-align:top;"|{{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=textarea with autocomplete|rows=5|cols=40|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| style="vertical-align:top;"|{{{field|ExogenousDriverText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on exogenous Drivers }}}
|-
! Endogenous drivers<br/> (if any):
|style="vertical-align:top;" | No predefined options
|style="vertical-align:top;" | {{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=textarea with autocomplete|rows=5| cols=40| placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|style="vertical-align:top;" |{{{field|EndogenousDriverText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on endogenous Drivers }}}
|-
! Development: {{#info:some explanation on development concept can be put here}}
|style="vertical-align:top;" |{{{field|DevelopmentOption|input type=checkboxes}}}
| {{{field|Development|values from property=HasDevelopment|input type=textarea with autocomplete|rows=5|cols=40|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| {{{field|DevelopmentText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}
 
==Alternative ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"
! rowspan="2"| Exogenous drivers:
| colspan="2"| {{{field|ExogenousDriverOption|input type=checkboxes}}}
|-
| {{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=tokens|rows=5|cols=50|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| {{{field|ExogenousDriverText|input type= textarea|rows=5|cols=50|autogrow|placeholder=comment on exogenous Drivers }}}
|-
! Endogenous drivers<br/> (if any):
|{{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=tokens|rows=5|cols=50| autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|{{{field|EndogenousDriverText|input type= textarea|rows=5|cols=50|autogrow|placeholder=comment on endogenous Drivers }}}
|-
! rowspan="2"| Development: {{#info:some explanation on development concept can be put here}}
| colspan="2"|{{{field|DevelopmentOption|input type=checkboxes}}}
|-
| {{{field|Development|values from property=HasDevelopment|input type=tokens|rows=5|cols=50|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| {{{field|DevelopmentText|input type=textarea|rows=5|cols=50|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}
 
==Alternative 2 ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"
! rowspan="3"| Exogenous drivers:
| {{{field|ExogenousDriverOption|input type=checkboxes}}}
|-
| {{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=textarea with autocomplete|rows=3|cols=120|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|ExogenousDriverText|input type= textarea|rows=3|cols=120|autogrow|placeholder=comment on exogenous Drivers }}}
|-
! rowspan="2"| Endogenous drivers<br/> (if any):
|{{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=textarea with autocomplete|rows=3|cols=120| autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
|{{{field|EndogenousDriverText|input type= textarea|rows=3|cols=120|autogrow|placeholder=comment on endogenous Drivers }}}
|-
! rowspan="3"| Development: {{#info:some explanation on development concept can be put here}}
| {{{field|DevelopmentOption|input type=checkboxes}}}
|-
| {{{field|Development|values from property=HasDevelopment|input type=textarea with autocomplete|rows=3|cols=120|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|DevelopmentText|input type=textarea|rows=3|cols=120|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}
 
---------
{{{standard input|save}}} {{{standard input|cancel}}}
</includeonly>

Latest revision as of 14:00, 17 November 2021

This is the "ModelForm" form. To create a page with this form, enter the page name below.

Auto completion is active for Model names ; if a page with that name already exists, you will be sent to a form to edit that page.