Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 27: Line 27:
|Airtable Record ID={{{Airtable Record ID|}}}
|Airtable Record ID={{{Airtable Record ID|}}}
|Airtable Last Modified={{{Airtable Last Modified|}}}
|Airtable Last Modified={{{Airtable Last Modified|}}}
|Opportunity={{{Opportunity|}}}|+sep=;
}}
}}
{{#arraymap:{{{Opportunity|}}}
  |;
  |@@@
  |[[Semantic Dependency::Category:Cross-event opportunities]]
  |
}}
[[Semantic Dependency::{{FULLPAGENAME}}]]
</div>
</div>
<div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4 ml-0 ml-md-3 ml-lg-4">
<div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4 ml-0 ml-md-3 ml-lg-4">
Line 225: Line 217:
       |link text=+ Add opportunity
       |link text=+ Add opportunity
       |Opportunity[Associated Event]={{FULLPAGENAME}}
       |Opportunity[Associated Event]={{FULLPAGENAME}}
     }}</th>
     }}  
<div class="d-flex flex-column flex-md-row gap-3 mb-3">
<div class="data-button">
<div class="dropdown notspecial">
  <div type="button" class="dropdown-toggle mw-ui-button mw-ui-quiet" data-toggle="dropdown"><i class="fas fa-pen-alt mr-1"></i> Cross-event opportunities</div>
  <div class="dropdown-menu">
{{#arraymap: {{#ask: [[Category:Cross-event opportunities]]
  |link=none
  |sep=;
}}|;
  |@@@
  |<span class="dropdown-item">{{#autoedit: form=Opportunity
    |link text=@@@
    |Opportunity[Opportunity scope]=Cross-event
    |Opportunity[Associated Event]+={{#ask:[[{{FULLPAGENAME}}]]|link=none}}
    |target=@@@
    |reload
  }}</span>
  |\s
}}
</div>
</div>
</div></th>
</tr>
</tr>
</table>
</table>

Revision as of 20:04, January 14, 2024