Template:Program: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 78: | Line 78: | ||
-->{{#if:{{{Related persons|}}} | -->{{#if:{{{Related persons|}}} | ||
|{{#if: {{#ask: | |<!-- | ||
### Current staff | |||
-->{{#if: {{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Person role::+]] | |||
[[Date End::>{{#time:Y/m/d}}]] | |||
}}| | |||
<div class="moha-infobox-section"> | <div class="moha-infobox-section"> | ||
<div class="moha-infobox-section-header">Current staff</div> | <div class="moha-infobox-section-header">Current staff</div> | ||
Line 174: | Line 178: | ||
<tr> | <tr> | ||
<td>Current collaborators</td> | <td>Current collaborators</td> | ||
<td> | |||
|outro= | |||
</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
}}<!-- | |||
### Past staff | |||
-->{{#if: {{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Person role::+]] | |||
[[Date End::<{{#time:Y/m/d}}]] | |||
}}| | |||
<div class="moha-infobox-section"> | |||
<div class="moha-infobox-section-header">Past staff</div> | |||
<div class="moha-infobox-section-body"><!-- | |||
-->{{#arraydefine: positions | |||
|{{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Person role::Staff]] | |||
[[Date End::<{{#time:Y/m/d}}]] | |||
|?Person position | |||
|mainlabel=- | |||
|headers=hide | |||
|format=array | |||
|sep=; | |||
}} | |||
|; | |||
|unique, sort=asc | |||
}}<!-- | |||
-->{{#ifexpr: {{#arraysize:positions}} > 0| | |||
<table> | |||
{{#arrayprint:positions | |||
| | |||
|@@@ | |||
| | |||
<tr> | |||
<td>@@@</td> | |||
<td>{{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Date End::<{{#time:Y/m/d}}]] | |||
[[Person role::Staff]] | |||
[[Person position::@@@]] | |||
|?Person | |||
|sort=Person | |||
|order=asc | |||
|mainlabel=- | |||
|link=none | |||
|format=plainlist | |||
|template=div link to person form | |||
}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
}} | |||
</div> | |||
</div> | |||
}}<!-- | |||
-->{{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Date End::<{{#time:Y/m/d}}]] | |||
[[Person role::Board Member]] | |||
|?Person | |||
|sort=Person | |||
|order=asc | |||
|mainlabel=- | |||
|link=none | |||
|format=plainlist | |||
|template=div link to person form | |||
|intro= | |||
<div class="moha-infobox-section"> | |||
<div class="moha-infobox-section-body"> | |||
<table> | |||
<tr> | |||
<td>Past leadership</td> | |||
<td> | |||
|outro= | |||
</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
}}<!-- | |||
-->{{#ask: | |||
[[-Has subobject::{{PAGENAME}}]] | |||
[[Date End::<{{#time:Y/m/d}}]] | |||
[[Person role::Collaborator]] | |||
|?Person | |||
|sort=Person | |||
|order=asc | |||
|mainlabel=- | |||
|link=none | |||
|format=plainlist | |||
|template=div link to person form | |||
|intro= | |||
<div class="moha-infobox-section"> | |||
<div class="moha-infobox-section-body"> | |||
<table> | |||
<tr> | |||
<td>Past collaborators</td> | |||
<td> | <td> | ||
|outro= | |outro= |