Template:Opportunity: Difference between revisions
From MoHA Wiki
mNo edit summary |
mNo edit summary |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|Opportunity name={{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}} | |Opportunity name={{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}} | ||
|Opportunity wiki link={{FULLPAGENAME}} | |Opportunity wiki link={{FULLPAGENAME}} | ||
|Opportunity | |Opportunity format={{{Opportunity format|}}}|+sep=; | ||
|Opportunity short description={{{Opportunity short description|}}} | |Opportunity short description={{{Opportunity short description|}}} | ||
|Opportunity description={{{Opportunity description|}}} | |Opportunity description={{{Opportunity description|}}} | ||
Line 15: | Line 15: | ||
|Opportunity start date={{{Opportunity start date|}}} | |Opportunity start date={{{Opportunity start date|}}} | ||
|Opportunity end date={{{Opportunity end date|}}} | |Opportunity end date={{{Opportunity end date|}}} | ||
|Opportunity compensation={{{Opportunity compensation|}}} | |||
|Opportunity compensation type={{{Opportunity compensation type|}}} | |||
|Juror={{{Jurors|}}}|+sep=; | |Juror={{{Jurors|}}}|+sep=; | ||
|Associated Program={{{Associated Program|}}}|+sep=; | |Associated Program={{{Associated Program|}}}|+sep=; | ||
|Opportunity scope={{{Opportunity scope|}}} | |||
|Associated Event={{{Associated Event|}}}|+sep=; | |Associated Event={{{Associated Event|}}}|+sep=; | ||
|Presented by={{{Presented by|}}}|+sep=; | |Presented by={{{Presented by|}}}|+sep=; | ||
}} | }} | ||
[[Category:Opportunities]] | {{#arraymap:{{{Opportunity format|}}} | ||
|; | |||
|@@@ | |||
|{{#arraymap: Communication, Support, Application | |||
|, | |||
|^^^ | |||
|{{#arraymap:{{:Project:Opportunity type/^^^}}|\n|$$$|{{#ifeq:@@@|$$$|{{#set: Opportunity type=^^^}}}}|}} | |||
| | |||
}} | |||
| | |||
}} | |||
[[Category:Opportunities]]{{#ifeq:{{{Opportunity scope|}}}|Cross-event|[[Category:Cross-event opportunities]]}} | |||
{{#ifexpr: 0{{#time: Ymd|{{{Opportunity start date|}}}}}<={{#time: Ymd|now}} and 0{{#time: Ymd|{{{Opportunity end date|}}}}}>={{#time: Ymd|now}} | {{#ifexpr: 0{{#time: Ymd|{{{Opportunity start date|}}}}}<={{#time: Ymd|now}} and 0{{#time: Ymd|{{{Opportunity end date|}}}}}>={{#time: Ymd|now}} | ||
| [[Category:Current Opportunities]] | | [[Category:Current Opportunities]] | ||
Line 29: | Line 43: | ||
}} | }} | ||
}} | }} | ||
{{#if: {{{Opportunity end date|}}}||[[Category:Rolling Opportunities]]}} | |||
{{#if: {{{Opportunity display name|}}}|{{DISPLAYTITLE: {{{Opportunity display name|}}}}}}} | {{#if: {{{Opportunity display name|}}}|{{DISPLAYTITLE: {{{Opportunity display name|}}}}}}} | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
</div> | </div> | ||
Line 73: | Line 87: | ||
--><tr> | --><tr> | ||
<td>Type</td> | <td>Type</td> | ||
<td>{{#arraymap:{{{Opportunity | <td>{{#arraymap:{{{Opportunity format|}}} | ||
|; | |; | ||
|@ | |@ | ||
|{{#queryformlink: form=Opportunity | |{{#queryformlink: form=Opportunity formats | ||
|link text=@ | |link text=@ | ||
|Opportunity | |Opportunity formats[Opportunity format]=@ | ||
|_run=1 | |_run=1 | ||
}} | }} | ||
Line 84: | Line 98: | ||
}}</td> | }}</td> | ||
</tr><!-- | </tr><!-- | ||
-->{{#if: {{{Opportunity compensation type|}}}{{{Opportunity compensation|}}} | |||
|<tr> | |||
<td>Compensation</td> | |||
<td>{{#if: {{{Opportunity compensation|}}} | |||
|{{{Opportunity compensation|}}} {{#if:{{{Opportunity compensation type|}}}|({{{Opportunity compensation type|}}})}} | |||
|{{{Opportunity compensation type|}}} | |||
}} | |||
</td> | |||
</tr> | |||
}}<!-- | |||
-->{{#if: {{{Opportunity link|}}}| | -->{{#if: {{{Opportunity link|}}}| | ||
Line 101: | Line 126: | ||
--></table> | --></table> | ||
</div> | </div> | ||
</div>{{#if: {{{Jurors|}}}{{{Associated Program|}}}{{{Associated Event|}}}{{{Presented by|}}}| | </div> | ||
<!-- | |||
{{#if: {{{Jurors|}}}{{{Associated Program|}}}{{{Associated Event|}}}{{{Presented by|}}}| | |||
<div class="moha-infobox-section"> | <div class="moha-infobox-section"> | ||
<div class="moha-infobox-section-header">Details</div> | <div class="moha-infobox-section-header">Details</div> | ||
Line 197: | Line 224: | ||
</div> | </div> | ||
}} | }} | ||
</div><!-- | --> | ||
</div> | |||
<!-- | |||
### Article body | ### Article body |