Template:SatelliteEventFilter: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 8: Line 8:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=EventCategories|EventCategory=List (,) of String (allowed values=Galleries/Exhibits,Presentations/Workshops,Hackathons/Coworking,Live Music/DJs,Alcohol,Food,Networking,Activities/Games,Poolside,Shopping,Meditation/Self-Care,Fashion)}}
{{#cargo_declare:_table=EventCategories|EventCategory=List (,) of String (allowed values=Presentations/Workshops,Hackathons/Coworking,F&B,Activities/Games,Networking)}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=Test}}{| class="wikitable"
 
! Event Category
{{#cargo_query:
| {{{EventCategory|}}}
tables=SatelliteEvents
|}
|where=MainEvent="ETHDenver" AND SideEventType="{{{EventCategory}}}" AND StartDate="2024-02-15"
</includeonly>
|fields=MainEvent,SideEventType,City,StartTimeUnixTimestamp,EndTimeUnixTimestamp,StartDate,StartTime,EndTime,EventName,EventType,URL,StartingTicketPrice,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,ZipCode,MapLink,RSVP,FBOptions,CONCAT('[[',Host1,']]')=Host1,CONCAT(', [[',Host2,']]')=Host2,CONCAT(', [[',Host3,']]')=Host3,CONCAT(', [[',Host4,']]')=Host4,CONCAT(', [[',Host5,']]')=Host5,CONCAT(', [[',Host6,']]')=Host6,CONCAT(', [[',Host7,']]')=Host7,CONCAT(', [[',Host8,']]')=Host8,CONCAT(', [[',Host9,']]')=Host9,CONCAT(', [[',Host10,']]')=Host10,CONCAT(', [[',Host11,']]')=Host11,CONCAT(', [[',Host12,']]')=Host12,CONCAT(', [[',Host13,']]')=Host13,CONCAT(', [[',Host14,']]')=Host14,CONCAT(', [[',Host15,']]')=Host15,Notes,AddEventID
|format=template
|template=SatelliteEventRowDisplay
|named args=yes
|order by=StartTimeUnixTimestamp,EndTimeUnixTimestamp ASC
}}

Revision as of 23:36, 7 February 2024

This is the "SatelliteEventFilter" template. It should be called in the following format:

{{SatelliteEventFilter
|EventCategory=
}}

Edit the page to see the template text. This template defines the table "EventCategories". View table.