Template:Program: Difference between revisions

From MoHA Wiki
m (Text replacement - "Type of Program" to "Program type")
No edit summary
Line 1: Line 1:
<includeonly><div class="d-none">
<includeonly><div class="d-none">
{{#set:
{{#set:
|Program type={{{Program type|}}}
|Program description={{{Program description|}}}
|Parent program={{{Parent program|}}}
|Parent program={{{Parent program|}}}
|Program board member={{{Program board members|}}}|+sep=;
|Program type={{{Program type|}}}|+sep=;
|Program staff={{{Program staff|}}}|+sep=;
|Program purpose={{{Program purpose|}}}
|Program sponsor={{{Program sponsors|}}}|+sep=;
|Program history={{{Program history|}}}
|Date Start={{{Program start date|}}}
|Date End={{{Program end date|}}}
}}
}}
[[Category:Programs]]
[[Category:Programs]]
Line 12: Line 12:
__NOEDITSECTION__
__NOEDITSECTION__
</div>
</div>
== Description ==
{{#if: {{{Program start date|}}}|
'''Type: {{{Program type|}}}'''
;Date Start
{{#if:{{{Program description|}}}|
{{#time: M Y|{{{Program start date|}}}}}
:{{{Program description|}}}
}}<!--
 
-->{{#if: {{{Program end date|}}}|
;Date End
{{#time: M Y|{{{Program end date|}}}}}
}}<!--
}}<!--


-->{{#if: {{{Parent program|}}}|
-->{{#if: {{{Parent program|}}}|
'''Parent program''': [[{{{Parent program|}}}]]
;Sub-program of [[{{{Parent program|}}}]]
}}
}}
{{#arraymap: Program board members, Program staff, Program sponsors
== Description ==
  |,
;Type
  |@
{{#arraymap:{{{Program type|}}}|;|@|@|,&#32;}}
  |{{#if: {{{@|}}}
{{#if:{{{Program purpose|}}}|
;Purpose
{{{Program purpose|}}}
}}<!--
 
-->{{#if:{{{Program history|}}}|
;History
{{{Program history|}}}
}}<!--
 
-->{{#if:{{{Related persons|}}}
     |
     |
== @ ==
== Related persons ==
{{#arraydefine: x|{{{@|}}}|;|unique}}{{#arrayprint: x
<ul>
  |,&#32;
{{{Related persons|}}}
  |$$
</ul>
  |[[$$]]
}}
}}
  }}
{{#if:{{{Related organizations|}}}
  |\n
    |
== Related organizations ==
<ul>
{{{Related organizations|}}}
</ul>
}}
}}
{{#if:{{{Resources|}}}
{{#if:{{{Resources|}}}

Revision as of 13:51, August 6, 2022