Template:Opportunity: Difference between revisions

From MoHA Wiki
(Created page with "<includeonly> </includeonly>")
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div class="d-none">
{{#set:
|Opportunity name={{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}}
|Opportunity type={{{Opportunity type|}}}
|Opportunity description={{{Opportunity description|}}}
|Opportunity link={{{Opportunity link|}}}
|Date Start={{{Opportunity start date|}}}
|Date End={{{Opportunity end date|}}}
|Juror={{{Jurors|}}}|+sep=;
|Associated Program={{{Associated Program|}}}|+sep=;
|Presented by={{{Presented by|}}}|+sep=;
}}
[[Category:Opportunities]]
{{#if: {{{Opportunity display name|}}}|{{DISPLAYTITLE: {{{Opportunity display name|}}}}}}}
__NOTOC__
__NOEDITSECTION__
</div>
<div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4 ml-0 ml-md-3 ml-lg-4">
<div class="moha-infobox-section">
<div class="moha-infobox-section-header">Opportunity</div>
</div>
<div class="moha-infobox-section">
<div class="moha-infobox-section-header">Opportunity Info</div>
<div class="moha-infobox-section-body">
<table>
<tr>
<td>Name</td>
<td>{{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}}</td>
</tr>
{{#if: {{{Opportunity start date|}}}|
<tr>
<td>Date start</td>
<td>{{#time: M Y|{{{Opportunity start date|}}}}}</td>
</tr>
}}<!--


</includeonly>
-->{{#if: {{{Opportunity end date|}}}|
<tr>
<td>Date end</td>
<td>{{#time: M Y|{{{Opportunity end date|}}}}}</td>
</tr>
}}<!--
 
--><tr>
<td>Type of Opportunity</td>
<td>{{#arraymap:{{{Opportunity type|}}}
      |;
      |@
      |{{#queryformlink: form=Opportunity types     
        |link text=@
        |Opportunity types[Opportunity type]=@
        |_run=1
      }}
      |&#32;&middot;&#32;
    }}</td>
</tr><!--
 
-->{{#if: {{{Opportunity link|}}}|
<tr>
<td>Link</td>
<td>{{#if: {{{Opportunity link text|}}}|[{{{Opportunity link|}}} {{{Opportunity link text|}}}]|{{{Opportunity link|}}}}}</td>
</tr>
}}<!--
 
--></table>
</div>
</div>{{#if: {{{Jurors|}}}{{{Associated Program|}}}{{{Presented by|}}}|
<div class="moha-infobox-section">
<div class="moha-infobox-section-header">Environment</div>
<div class="moha-infobox-section-body">
 
</div>
</div>
</div><!--
 
### Article body
 
-->
{{#if: {{{Opportunity description|}}}|
== Description ==
{{{Opportunity description|}}}
}}

Revision as of 21:33, November 14, 2022