Template:Event Host: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 46: Line 46:
{{#cargo_query:
{{#cargo_query:
tables=SatelliteEvents
tables=SatelliteEvents
|fields=MainEvent,StartDate,EventName,URL,EventCategory1,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,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
|fields=_pageName,MainEvent,StartDate,EventName,URL,EventCategory1,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,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
|where= SatelliteEvents.Host1= '{{PAGENAME}}' OR SatelliteEvents.Host2= '{{PAGENAME}}' OR SatelliteEvents.Host3= '{{PAGENAME}}' OR SatelliteEvents.Host4= '{{PAGENAME}}' OR SatelliteEvents.Host5= '{{PAGENAME}}' OR SatelliteEvents.Host6= '{{PAGENAME}}' OR SatelliteEvents.Host7= '{{PAGENAME}}' OR SatelliteEvents.Host8= '{{PAGENAME}}' OR SatelliteEvents.Host9= '{{PAGENAME}}' OR SatelliteEvents.Host10= '{{PAGENAME}}' OR SatelliteEvents.Host11= '{{PAGENAME}}' OR SatelliteEvents.Host12= '{{PAGENAME}}' OR SatelliteEvents.Host13= '{{PAGENAME}}' OR SatelliteEvents.Host14= '{{PAGENAME}}' OR SatelliteEvents.Host15= '{{PAGENAME}}'
|where= SatelliteEvents.Host1= '{{PAGENAME}}' OR SatelliteEvents.Host2= '{{PAGENAME}}' OR SatelliteEvents.Host3= '{{PAGENAME}}' OR SatelliteEvents.Host4= '{{PAGENAME}}' OR SatelliteEvents.Host5= '{{PAGENAME}}' OR SatelliteEvents.Host6= '{{PAGENAME}}' OR SatelliteEvents.Host7= '{{PAGENAME}}' OR SatelliteEvents.Host8= '{{PAGENAME}}' OR SatelliteEvents.Host9= '{{PAGENAME}}' OR SatelliteEvents.Host10= '{{PAGENAME}}' OR SatelliteEvents.Host11= '{{PAGENAME}}' OR SatelliteEvents.Host12= '{{PAGENAME}}' OR SatelliteEvents.Host13= '{{PAGENAME}}' OR SatelliteEvents.Host14= '{{PAGENAME}}' OR SatelliteEvents.Host15= '{{PAGENAME}}'
|format=template
|format=template

Latest revision as of 16:20, 11 February 2024

This is the "Event Host" template.

It should be called in the following format:

{{Event Host
|URL=
|XTwitter=
|Discord=
|GitHub=
|Instagram=
|YouTube=
|Blog=
|Telegram=
|Facebook=
|Linkedin=
|Reddit=
|OtherCategories1=
|OtherCategories2=
|OtherCategories3=
}}

Edit the page to see the template text.

This template defines the table "EventHosts". View table.