Template:Program: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 322: Line 322:


-->
-->
{{#if:{{{Related persons|}}}|
{{#if:{{{Related organizations|}}}|
== Related persons ==
== Related organizations ==
<table>
<table>
{{{Related persons|}}}
{{{Related organizations|}}}
</table>
</table>
}}<!--
}}<!--


-->
### Bottom table
{{#if:{{{Related organizations|}}}|
 
== Related organizations ==
-->{{#arraydefine: programtypes
    |{{{Program type|}}}
    |;
  }}
<div class="moha-bottom-table">
<table>
<table>
{{{Related organizations|}}}
<tr>
<td rowspan={{#arraysize:programtypes}}>Program types</td>
</tr>
{{#arrayprint: programtypes
  |
  |@@@
  |<tr><td>@@@</td><td>{{#ask: [[Category:Programs]][[Program type::@@@]][[!{{PAGENAME}}]]|format=plainlist}}</td></tr>
}}
</table>
</table>
}}
</div>
</includeonly>
</includeonly>

Revision as of 23:17, August 12, 2022