Template:Opportunity: Difference between revisions
From MoHA Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|Opportunity second link={{{Opportunity second link|}}} | |Opportunity second link={{{Opportunity second link|}}} | ||
|Opportunity second link text={{{Opportunity second link text|}}} | |Opportunity second link text={{{Opportunity second link text|}}} | ||
| | |Opportunity display order={{{Opportunity display order|}}} | ||
| | |Opportunity start date={{{Opportunity start date|}}} | ||
|Opportunity end date={{{Opportunity end date|}}} | |||
|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]] | [[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}} | |||
| [[Category:Current Opportunities]] | |||
| {{#ifexpr: {{#time: Ymd|{{{Opportunity start date|}}}}}>{{#time: Ymd|now}} | |||
| [[Category:Upcoming Opportunities]] | |||
}} {{#ifexpr: {{#time: Ymd|{{{Opportunity end date|}}}}}<{{#time: Ymd|now}} | |||
| [[Category:Past Opportunities]] | |||
}} | |||
}} | |||
{{#if: {{{Opportunity display name|}}}|{{DISPLAYTITLE: {{{Opportunity display name|}}}}}}} | {{#if: {{{Opportunity display name|}}}|{{DISPLAYTITLE: {{{Opportunity display name|}}}}}}} | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
</div> | </div> | ||
<div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4"> | <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"> | ||
<div class="moha-infobox-section-header">Opportunity Info</div> | <div class="moha-infobox-section-header">Opportunity Info</div> | ||
Line 86: | Line 96: | ||
<tr> | <tr> | ||
<td>Link</td> | <td>Link</td> | ||
<td>{{#if: {{{Opportunity second link text|}}}|[{{{Opportunity second link|}}} {{{Opportunity second link text|}}}]|{{{Opportunity second link|}}}}}</td> | <td>{{#if: {{{Opportunity second link text|}}}|<span class="moha-button">[{{{Opportunity second link|}}} {{{Opportunity second link text|}}}]</span>|{{{Opportunity second link|}}}}}</td> | ||
</tr> | </tr> | ||
}}<!-- | }}<!-- | ||
Line 92: | Line 102: | ||
--></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 188: | Line 200: | ||
</div> | </div> | ||
}} | }} | ||
</div><!-- | --> | ||
</div> | |||
<!-- | |||
### Article body | ### Article body |