Difference between revisions of "Form:Organization"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(23 intermediate revisions by 2 users not shown)
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=Industry sector
+
  |Industries
|field={{{field
+
  |holds template
  |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
 
 
}}}
 
}}}
}}
 
 
{{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 284: Line 304:
 
  |autogrow
 
  |autogrow
 
  |placeholder=Notes ...
 
  |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
 
}}}
 
}}}
 
}}
 
}}
Line 314: 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
 
  |placeholder=Founder's name
 
}}}
 
}}}
Line 337: 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 371: Line 415:
 
  |input type=text
 
  |input type=text
 
  |placeholder=Person name
 
  |placeholder=Person name
 +
|values from category=People
 
}}}
 
}}}
 
  |class=mb-2
 
  |class=mb-2

Latest revision as of 11:00, 24 August 2022