Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
− | {{#formlink: form=Organization
| + | [[Project:Organization]] |
− | |link text=<span class="mw-ui-button mw-ui-progressive">Add Organization</span>
| |
− | }}
| |
| </noinclude><includeonly> | | </noinclude><includeonly> |
| {{{info|page name=<Organization[Organization name]>}}} | | {{{info|page name=<Organization[Organization name]>}}} |
Line 40: |
Line 38: |
| |label-valign=start | | |label-valign=start |
| }} | | }} |
− | {{form row
| + | {{{field |
− | |label=Type of industry
| + | |Industries |
− | |field={{{field
| + | |holds template |
− | |Type of industry | |
− | |input type=dropdown
| |
− | |values from property=Type of industry
| |
− | |placeholder=Select from the list ...
| |
− | |class=type-of-industry | |
| }}} | | }}} |
− | |class=my-1
| |
− | }}
| |
− | {{form row
| |
− | |label=Industry
| |
− | |field={{{field
| |
− | |Industry
| |
− | |input type=SF_Select
| |
− | |function=ask:((-Has subobject::Property:Industry/By types))((Type of industry::@@@@));?Industry;mainlabel~-;headers~hide;format~array;sep~,;manysep~,
| |
− | |field=Type of industry
| |
− | |sametemplate
| |
− | }}}
| |
− | }}
| |
| {{form row | | {{form row |
| |label=Brands | | |label=Brands |
Line 85: |
Line 66: |
| == Foundation == | | == Foundation == |
| {{form row | | {{form row |
− | |label=Date
| + | |label=Date |
− | |field={{{field
| + | |field={{{field |
− | |Start date
| + | |Month Start |
− | |input type=datepicker
| + | |input type=dropdown |
− | }}} | + | |values=January,February,March,April,May,June,July,August,September,October,November,December |
− | |class=mb-2
| + | |placeholder={{#time:F}} |
| + | |class=mr-1 |
| + | }}} {{{field |
| + | |Day Start |
| + | |input type=regexp |
| + | |regexp=/^\d*$/ |
| + | |message=Only valid day of month |
| + | |placeholder={{#time:j}} |
| + | |size=4 |
| + | |class=mr-1 |
| + | }}} {{{field |
| + | |Year Start |
| + | |input type=regexp |
| + | |regexp=/^\d*$/ |
| + | |message=Only valid year |
| + | |placeholder={{#time:Y}} |
| + | |size=4 |
| + | |class=mr-1 |
| + | }}} |
| + | |fieldclass=d-flex align-items-center mb-2 |
| }} | | }} |
| {{form row | | {{form row |
Line 133: |
Line 133: |
| |field={{{field | | |field={{{field |
| |Fate | | |Fate |
− | |input type=dropdown | + | |input type=tokens |
| |property=Fate list | | |property=Fate list |
| |placeholder=Select from the list ... | | |placeholder=Select from the list ... |
| |show on select=Merged/Sold=>id_related;Other=>id_other; | | |show on select=Merged/Sold=>id_related;Other=>id_other; |
| + | |existing values only |
| }}} | | }}} |
| |class=mb-1 | | |class=mb-1 |
Line 152: |
Line 153: |
| </div> | | </div> |
| {{form row | | {{form row |
− | |label=End date
| + | |label=End date |
− | |field={{{field
| + | |field={{{field |
− | |End date
| + | |Day End |
− | |input type=datepicker
| + | |input type=regexp |
| + | |regexp=/^\d*$/ |
| + | |message=Only valid day of month |
| + | |placeholder={{#time:j}} |
| + | |size=4 |
| + | |class=mr-1 |
| + | }}} {{{field |
| + | |Month End |
| + | |input type=dropdown |
| + | |values=January,February,March,April,May,June,July,August,September,October,November,December |
| + | |placeholder={{#time:F}} |
| + | |class=mr-1 |
| + | }}} {{{field |
| + | |Year End |
| + | |input type=regexp |
| + | |regexp=/^\d*$/ |
| + | |message=Only valid year |
| + | |placeholder={{#time:Y}} |
| + | |size=4 |
| + | |class=mr-1 |
| }}} | | }}} |
− | |class=mb-2
| + | |fieldclass=d-flex align-items-center mb-2 |
| }} | | }} |
| == Organizational Environment == | | == Organizational Environment == |
Line 171: |
Line 191: |
| }} | | }} |
| {{form row | | {{form row |
− | |label=Sucessor(s) | + | |label=Successor(s) |
| |field={{{field | | |field={{{field |
− | |Sucessors | + | |Successors |
| |input type=tokens | | |input type=tokens |
| |values from category=Organizations | | |values from category=Organizations |
Line 255: |
Line 275: |
| {{{for template|Location|multiple|embed in field=Organization[Locations]|add button text=Add location}}} | | {{{for template|Location|multiple|embed in field=Organization[Locations]|add button text=Add location}}} |
| {{Address form}} | | {{Address form}} |
| + | {{form row |
| + | |label=Add time boundaries |
| + | |field={{{field |
| + | |Is time bound |
| + | |input type=checkbox |
| + | |show on select=Yes=>id_locperiod; |
| + | |class=mr-2 d-flex align-items-center |
| + | }}} <span id="id_locperiod">from {{{field |
| + | |Period from year |
| + | |input type=year |
| + | |size=4 |
| + | |placeholder={{CURRENTYEAR}} |
| + | }}} to {{{field |
| + | |Period until year |
| + | |input type=year |
| + | |size=4 |
| + | |placeholder={{CURRENTYEAR}} |
| + | }}}</span> |
| + | |class=mb-2 |
| + | |label-valign=start |
| + | }} |
| + | {{form row |
| + | |label=Note |
| + | |field={{{field |
| + | |Note |
| + | |input type=textarea |
| + | |rows=3 |
| + | |autogrow |
| + | |placeholder=Notes ... |
| + | }}} |
| + | }} |
| + | {{{end template}}} |
| + | {{{for template|Industry|multiple|embed in field=Organization[Industries]|add button text=Add industry}}} |
| + | {{form row |
| + | |label=Industry sector |
| + | |field={{{field |
| + | |Industry sector |
| + | |input type=dropdown |
| + | |values from property=Industry sector |
| + | |placeholder=Select from the list ... |
| + | |class=type-of-industry |
| + | }}} |
| + | |class=my-1 |
| + | }} |
| + | {{form row |
| + | |label=Sub-Industry |
| + | |field={{{field |
| + | |Sub-Industry |
| + | |input type=SF_Select |
| + | |function=ask:((-Has subobject::Property:Sub-Industry/By sectors))((Industry sector::@@@@));?Sub-Industry;mainlabel~-;headers~hide;format~array;sep~,;manysep~, |
| + | |field=Industry sector |
| + | |sametemplate |
| + | }}} |
| + | }} |
| {{{end template}}} | | {{{end template}}} |
| {{{for template|Infobox image|multiple|embed in field=Organization[Images]|add button text=Add infobox image|maximum instances=1}}} | | {{{for template|Infobox image|multiple|embed in field=Organization[Images]|add button text=Add infobox image|maximum instances=1}}} |
Line 278: |
Line 352: |
| {{{end template}}} | | {{{end template}}} |
| {{{for template|Founder|multiple|embed in field=Organization[Founders]|add button text=Add founder}}} | | {{{for template|Founder|multiple|embed in field=Organization[Founders]|add button text=Add founder}}} |
− | {{form row
| |
− | |label=Type
| |
− | |field={{{field
| |
− | |Type of founder
| |
− | |input type=radiobutton
| |
− | |property=Type of founder
| |
− | |default=Person
| |
− | |mandatory
| |
− | |show on select=Person=>id_name_of_person;Organization=>id_name_of_organization;
| |
− | }}}
| |
− | |class=mb-2
| |
− | }}
| |
| {{form row | | {{form row |
| |label=Name of person | | |label=Name of person |
Line 295: |
Line 357: |
| |Name of person | | |Name of person |
| |input type=tokens | | |input type=tokens |
− | |values from property=Founder (Person) | + | |values from category=People |
− | |placeholder=Founder's name
| |
− | }}}
| |
− | |class=mb-2
| |
− | }}
| |
− | {{form row
| |
− | |label=Name of organization
| |
− | |field={{{field
| |
− | |Name of organization
| |
− | |input type=tokens
| |
− | |values from property=Founder (Organization)
| |
| |placeholder=Founder's name | | |placeholder=Founder's name |
| }}} | | }}} |
Line 328: |
Line 380: |
| |input type=text | | |input type=text |
| |placeholder=Owner's name | | |placeholder=Owner's name |
| + | |values from category=People |
| }}} | | }}} |
| |class=mb-2 | | |class=mb-2 |
Line 362: |
Line 415: |
| |input type=text | | |input type=text |
| |placeholder=Person name | | |placeholder=Person name |
| + | |values from category=People |
| }}} | | }}} |
| |class=mb-2 | | |class=mb-2 |