Form:Opportunity: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 4: Line 4:
   [[Category:Opportunities]]
   [[Category:Opportunities]]
   |format=table
   |format=table
   |class=smwtable-clean compact datatable display
   |class=smwtable-clean compact display
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{info|page name=<Opportunity[Opportunity display name]>}}}
{{{for template|Opportunity}}}
{{{for template|Opportunity}}}
<p>'''Opportunity Name: '''</p>
<p>'''Opportunity display name (if different from page name or new): '''</p>
{{{field|Opportunity display name|input type=text|class=form-control}}}
{{{field|Opportunity display name|input type=text|class=form-control}}}
<p>'''[[Property:Opportunity type|Opportunity type]] *: </p>
<p>'''Opportunity format *: </p>
{{{field|Opportunity type|input type=tokens|values from property=Opportunity type|mandatory|list|delimiter=;}}}
{{{field|Opportunity format|input type=tree|mandatory|list|delimiter=;|structure=*Communication
{{#arraymap:{{:Project:Opportunity type/Communication}}
  |\n
  |@@@
  |**@@@
  |\n
}}
*Support
{{#arraymap:{{:Project:Opportunity type/Support}}
  |\n
  |@@@
  |**@@@
  |\n
}}
*Application
{{#arraymap:{{:Project:Opportunity type/Application}}
  |\n
  |@@@
  |**@@@
  |\n
}}
|height=460px
}}}
<p>'''Opportunity compensation: '''</p>
{{{field|Opportunity compensation type|input type=dropdown|property=Opportunity compensation type}}} {{{field|Opportunity compensation|input type=dropdown|property=Opportunity compensation}}}
<p>'''Opportunity short description: '''</p>
{{{field|Opportunity short description|input type=textarea|autogrow|class=form-control}}}
<p>'''Opportunity description: '''</p>
<p>'''Opportunity description: '''</p>
{{{field|Opportunity description|input type=textarea|autogrow|class=form-control}}}
{{{field|Opportunity description|input type=textarea|autogrow|class=form-control}}}
<p>'''Opportunity dates: </p>
<p>'''Opportunity image: '''</p>
<div class="mb-3">Start {{{field|Opportunity start date|input type=datepicker}}} End {{{field|Opportunity end date|input type=datepicker}}}
{{{field|Opportunity image|uploadable}}}
<p>'''Opportunity image caption: '''</p>
{{{field|Opportunity image caption|class=form-control}}}
 
{{{field|Has application window|input type=checkbox|label=Has application window|show on select=Yes=>op-dates;|default=Yes|class=pr-2}}}
<div id="op-dates">
<p>'''Application Opens''': </p>
<div class="mb-3">{{{field|Opportunity start date|input type=datepicker}}}</div>
<p>'''Deadline''': </p>
<div class="mb-3">{{{field|Opportunity end date|input type=datepicker}}}</div>
</div>
</div>
<p>'''Opportunity link: '''</p>
<p>'''Opportunity link: '''</p>
{{{field|Opportunity link|input type=regexp|regexp=/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/gm|class=form-control}}}
{{{field|Opportunity link|input type=regexp
  |regexp=^http(s)?:\/\/(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$|message=The value should be a valid URL!|class=form-control}}}
<p>'''Opportunity link text: '''</p>
{{{field|Opportunity link text|input type=text|class=form-control}}}
<p>'''Opportunity second link: '''</p>
{{{field|Opportunity second link|input type=regexp
  |regexp=^http(s)?:\/\/(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$|message=The value should be a valid URL!|class=form-control}}}
<p>'''Opportunity second link text: '''</p>
{{{field|Opportunity second link text|input type=text|class=form-control}}}
<p>'''Jurors: '''</p>
<p>'''Jurors: '''</p>
{{{field|Jurors|input type=tokens|values from property=Person|list|delimiter=;}}}
{{{field|Jurors|input type=tokens|values from property=Person|list|delimiter=;}}}
<p>'''Program associated: '''</p>
<p>'''Program associated: '''</p>
{{{field|Associated Program|input type=tokens|values from category=Programs|list|delimiter=;}}}
{{{field|Associated Program|input type=tokens|values from category=Programs|list|delimiter=;}}}
<p>'''Opportunity scope:'''</p>
{{{field|Opportunity scope|input type=radiobutton|values=Cross-event,Single-event|mandatory|default=Single-event}}}
<p>'''Event associated: '''</p>
{{{field|Associated Event|input type=tokens|values from category=Events|list|delimiter=;}}}
<p>'''Presented by: '''</p>
<p>'''Presented by: '''</p>
{{{field|Presented by|input type=tokens|values from concept=People and Organizations|list|delimiter=;}}}
{{{field|Presented by|input type=tokens|values from concept=People and Organizations|list|delimiter=;}}}
<p>'''Opportunity display order: '''</p>
{{{field|Opportunity display order|input type=text|class=form-control}}}
{{{end template}}}
{{{end template}}}
</includeonly>

Latest revision as of 10:27, July 28, 2024