Template:Opportunity: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 4: Line 4:
|Opportunity wiki link={{FULLPAGENAME}}
|Opportunity wiki link={{FULLPAGENAME}}
|Opportunity format={{{Opportunity format|}}}|+sep=;
|Opportunity format={{{Opportunity format|}}}|+sep=;
|Opportunity type={{#arraymap:{{{Opportunity format|}}}
  |;
  |@@@
  |{{#switch: @@@
    |{{#arraymap:{{:Project:Opportunity type/Communication}}|\n|@@@|@@@|<nowiki>|</nowiki>}}=Communication
    |Donate
    |Volunteer=Support
    |Studio Space
    |Space
    |Residency
    |Leadership
    |Job
    |Open Call
    |Student Fellowships
    |Fiscal Sponsorship
    |Present an Event
    |Educational=Application
    |#default=
  }}
  |;
}}|+sep=;
|Opportunity short description={{{Opportunity short description|}}}
|Opportunity short description={{{Opportunity short description|}}}
|Opportunity description={{{Opportunity description|}}}
|Opportunity description={{{Opportunity description|}}}
Line 41: Line 20:
|Associated Event={{{Associated Event|}}}|+sep=;
|Associated Event={{{Associated Event|}}}|+sep=;
|Presented by={{{Presented by|}}}|+sep=;
|Presented by={{{Presented by|}}}|+sep=;
}}
{{#arraymap:{{{Opportunity format|}}}
  |;
  |@@@
  |{{#arraymap: Communication, Support, Application
    |,
    |^^^
    |{{:Project:Opportunity type/^^^}}|\n|$$$|{{#ifeq:@@@|$$$|{{#set: Opportunity type=^^^}}}}|}}
  }}
  |
}}
}}
[[Category:Opportunities]]{{#ifeq:{{{Opportunity scope|}}}|Cross-event|[[Category:Cross-event opportunities]]}}
[[Category:Opportunities]]{{#ifeq:{{{Opportunity scope|}}}|Cross-event|[[Category:Cross-event opportunities]]}}

Revision as of 10:08, July 28, 2024