Template:Opportunity: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 100: Line 100:
         |existing page link text=@
         |existing page link text=@
         |target=@
         |target=@
       }}<br>{{#show: @|?Date Start#-F[M j, Y]}}{{#if:{{#show: @|?Date End#-F[M Y]}}
       }}<br>{{#show: @|?Date Start#-F[M j, Y]}}{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
        |{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
             |{{#show: @|?Date Start#-F[Y-m-d]}} =  
             |{{#show: @|?Date Start#-F[Y-m-d]}} =  
             |= &ndash; rolling
             |= &ndash; rolling
             |#default= &ndash; {{#show: @|?Date End#-F[M j, Y]}}
             |#default= &ndash; {{#show: @|?Date End#-F[M j, Y]}}
           }}
           }}</li>{{#vardefine: prog|{{#var: prog}};{{#show:@|?Associated Program}}}}{{#arraydefine:progs|{{#var: prog}}|;|unique}}
      }}</li>{{#vardefine: prog|{{#var: prog}};{{#show:@|?Associated Program}}}}{{#arraydefine:progs|{{#var: prog}}|;|unique}}
   |
   |
}}</ul>
}}</ul>
Line 121: Line 119:
         |existing page link text=@
         |existing page link text=@
         |target=@
         |target=@
       }}{{#set: Associated Program=@}}<br>{{#show: @|?Date Start#-F[M Y]}}{{#if:{{#show: @|?Date End#-F[M Y]}}
       }}{{#set: Associated Program=@}}<br>{{#show: @|?Date Start#-F[M Y]}}{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
        |{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
             |{{#show: @|?Date Start#-F[Y-m-d]}} =  
             |{{#show: @|?Date Start#-F[Y-m-d]}} =  
             |= &ndash; rolling
             |= &ndash; rolling
             |#default= &ndash; {{#show: @|?Date End#-F[M Y]}}
             |#default= &ndash; {{#show: @|?Date End#-F[M Y]}}
           }}
           }}</li>  
      }}</li>  
}}
}}
</ul></td>
</ul></td>
Line 142: Line 138:
         |existing page link text=@
         |existing page link text=@
         |target=@
         |target=@
       }}<br>{{#show: @|?Date Start#-F[M Y]}}{{#if:{{#show: @|?Date End#-F[M Y]}}
       }}<br>{{#show: @|?Date Start#-F[M Y]}}{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
        |{{#switch: {{#show: @|?Date End#-F[Y-m-d]}}
             |{{#show: @|?Date Start#-F[Y-m-d]}} =
             |{{#show: @|?Date Start#-F[Y-m-d]}} =
             |= &ndash; rolling
             |= &ndash; rolling
             |#default= &ndash; {{#show: @|?Date End#-F[M Y]}}
             |#default= &ndash; {{#show: @|?Date End#-F[M Y]}}
           }}
           }}</li>  
      }}</li>  
   |
   |
}}</ul>
}}</ul>

Revision as of 00:43, November 18, 2022