Template:Program: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 165: Line 165:
### Opportunities
### Opportunities


-->{{#if: {{#ask: [[Category:Current Opportunities||Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}}
-->{{#if: {{#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}}]]
}}|<table cellspacing="3" class="with-header border-bottom-0"><tr><td>'''Current Opportunities'''</td></tr></table>
        }}<!-- -->{{#ask: [[Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}}
<table cellspacing="3" class="sortable mb-3 border-top-0">
            |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 bg-white mb-3 border-top-0">
<tr>
<tr>
   <th>Opportunity</th>
   <th>Opportunity</th>
   <th>Description</th>
   <th>Description</th>
   <th>Type</th>
   <th>Type</th>
</tr>
</tr><!--
{{#ask: [[Category:Current Opportunities]][[Associated Program::{{#switch:{{PAGENAME}}
 
-->{{#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
   |mainlabel=Opportunity
   |?Opportunity type=Opportunity type
   |?Opportunity format=Opportunity format
   |?Opportunity short description
   |?Opportunity short description
   |sort=Opportunity end date
   |sort=Opportunity end date
Line 192: Line 199:
   |link=none
   |link=none
   |template=Opportunity list row
   |template=Opportunity list row
}}
}}<!-- -->{{#ask: [[Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}}
{{#ask: [[Category:Rolling Opportunities]][[Associated Program::{{#switch:{{PAGENAME}}
     |Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}*
     |Games Y'all=~{{#sub:{{PAGENAME}}|0|7}}*
     |#default={{PAGENAME}}
     |#default={{PAGENAME}}
   }}]][[Opportunity start date::<{{#time:Y/m/d|now}}]]
   }}]]
   |mainlabel=Opportunity
   |mainlabel=Opportunity
   |?Opportunity type=Opportunity type
   |?Opportunity format=Opportunity format
   |?Opportunity short description
   |?Opportunity short description
   |named args=yes
   |named args=yes
Line 242: Line 248:
   |limit=500
   |limit=500
}}
}}
<table cellspacing="3" class="with-header">
<!--
<tr>
<td colspan=2>'''Similar Programs'''</td>
</tr>
{{#arraydefine:select
    |{{#ask:
      [[Category:Programs]]
      [[Program type::{{#arrayprint: programtypes
          |{{!}}{{!}}
          |@@@
          |@@@
      }}]]
      [[!{{PAGENAME}}]]
      |format=array
      |sep=;
    }}
    |;
  }}<!--
 
  -->{{#ifexpr: {{#arraysize:select}} > 0
        |<tr><td>{{#arrayprint: select
          |&#32;&middot;&#32;
          |$$$
          |[[$$$]]
        }}</td></tr>
      }}
</table><!--


### Articles
### Articles

Latest revision as of 19:45, September 13, 2024