Template:Program: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 147: Line 147:
<td colspan=2>'''Similar Programs'''</td>
<td colspan=2>'''Similar Programs'''</td>
</tr>
</tr>
{{#arrayprint: programtypes
{{#arraydefine:select
  |
  |@@@
  |{{#arraydefine:select
     |{{#ask:  
     |{{#ask:  
       [[Category:Programs]]
       [[Category:Programs]]
       [[Program type::@@@]]
       [[Program type::{{#arrayprint: programtypes
          |{{!}}{{!}}
          |@@@
          |@@@
      }}]]
       [[!{{PAGENAME}}]]
       [[!{{PAGENAME}}]]
       |format=array  
       |format=array  
Line 162: Line 163:


   -->{{#ifexpr: {{#arraysize:select}} > 0
   -->{{#ifexpr: {{#arraysize:select}} > 0
         |<tr><td>'''@@@'''</td><td>{{#arraymap: {{#ask:
         |<tr><td>{{#arrayprint: select
          [[Category:Programs]]
           |
          [[Program type::@@@]]
          [[!{{PAGENAME}}]]
           |format=array
          |sep=;
        }}|;
           |$$$
           |$$$
           |[[$$$]]
           |[[$$$]]
Line 174: Line 170:
         }}</td></tr>
         }}</td></tr>
       }}
       }}
}}
</table>
</table>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 17:29, October 12, 2022