Template:Program: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 165: | Line 165: | ||
### Opportunities | ### Opportunities | ||
-->{{#ask: [[Category:Opportunities]][[Associated Program::{{#switch:{{PAGENAME}} | -->{{#if: {{#ask: [[Category:Current Opportunities||Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}} | ||
|Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}* | |||
|#default={{PAGENAME}} | |||
}}]] | |||
}}|<table cellspacing="3" class="with-header border-bottom-0"><tr><td>'''Current Opportunities'''</td></tr></table> | |||
<table cellspacing="3" class="sortable mb-3 border-top-0"> | |||
<tr> | |||
<th>Opportunity</th> | |||
<th>Description</th> | |||
<th>Type</th> | |||
</tr> | |||
{{#ask: [[Category:Current Opportunities]][[Associated Program::{{#switch:{{PAGENAME}} | |||
|Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}* | |Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}* | ||
|#default={{PAGENAME}} | |#default={{PAGENAME}} | ||
}}]][[Opportunity end date::>>{{#time:Y/m/d|now}}]][[Opportunity start date::<{{#time:Y/m/d|now}}]] | }}]][[Opportunity end date::>>{{#time:Y/m/d|now}}]][[Opportunity start date::<{{#time:Y/m/d|now}}]] | ||
|mainlabel=Opportunity | |||
|?Opportunity type=Opportunity type | |||
|?Opportunity short description | |||
|sort=Opportunity end date | |||
|order=asc | |||
|named args=yes | |||
|format=plainlist | |||
|headers=plain | |||
|limit=500 | |||
|searchlabel= | |||
|link=none | |||
|template=Opportunity list row | |||
}} | |||
{{#ask: [[Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}} | |||
|Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}* | |||
|#default={{PAGENAME}} | |||
}}]][[Opportunity start date::<{{#time:Y/m/d|now}}]] | |||
|mainlabel=Opportunity | |mainlabel=Opportunity | ||
|?Opportunity type=Opportunity type | |?Opportunity type=Opportunity type | ||
Line 179: | Line 207: | ||
|link=none | |link=none | ||
|template=Opportunity list row | |template=Opportunity list row | ||
}} | }} | ||
<!-- | </table> | ||
}}<!-- | |||
### Events | ### Events |