Template:EventOrganizers: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:OrganizerName (label=Organizer)|URL (label=URL)|XTwitter (label=X (Twitter))|Discord (label=Discord)|GitHub (label=GitHub)|Instagram (label=Instagram)|YouTube (label=YouTube)|Blog (label=Blog)|Telegram (label=Telegram)|Facebook (label=Facebook)|Linkedin (label=Linkedin)|Reddit (label=Reddit) }}
{{#template_params:URL (label=URL)|XTwitter (label=X (Twitter))|Discord (label=Discord)|GitHub (label=GitHub)|Instagram (label=Instagram)|YouTube (label=YouTube)|Blog (label=Blog)|Telegram (label=Telegram)|Facebook (label=Facebook)|Linkedin (label=Linkedin)|Reddit (label=Reddit)}}
{{#cargo_declare:_table=EventOrganizers|OrganizerName=Page|URL=URL|XTwitter=URL|Discord=URL|GitHub=URL|Instagram=URL|YouTube=URL|Blog=URL|Telegram=URL|Facebook=URL|Linkedin=URL|Reddit=URL}}
{{#cargo_declare:_table=EventOrganizers|URL=URL|XTwitter=URL|Discord=URL|GitHub=URL|Instagram=URL|YouTube=URL|Blog=URL|Telegram=URL|Facebook=URL|Linkedin=URL|Reddit=URL}}
</noinclude><includeonly>{{#cargo_store:_table=EventOrganizers}}
</noinclude><includeonly>{{#cargo_store:_table=EventOrganizers}}
{{#template_display:_format=standard}}
{{#template_display:_format=standard}}
Line 11: Line 11:
{{#cargo_query:
{{#cargo_query:
tables=SatelliteEvents
tables=SatelliteEvents
|fields=MainEvent,StartDate,EventName,URL,EventType,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,CONCAT('[[',Organizer1,']]')=Organizer1,CONCAT(', [[',Organizer2,']]')=Organizer2,CONCAT(', [[',Organizer3,']]')=Organizer3,CONCAT(', [[',Organizer4,']]')=Organizer4,CONCAT(', [[',Organizer5,']]')=Organizer5
|fields=MainEvent,StartDate,EventName,URL,EventType,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.Organizer1= '{{PAGENAME}}' OR SatelliteEvents.Organizer2= '{{PAGENAME}}' OR SatelliteEvents.Organizer3= '{{PAGENAME}}' OR SatelliteEvents.Organizer4= '{{PAGENAME}}' OR SatelliteEvents.Organizer5= '{{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
|template=CityTemplateRowDisplay
|template=CityTemplateRowDisplay

Latest revision as of 20:59, 28 January 2024

This is the "EventOrganizers" template.

It should be called in the following format:

{{EventOrganizers
|URL=
|XTwitter=
|Discord=
|GitHub=
|Instagram=
|YouTube=
|Blog=
|Telegram=
|Facebook=
|Linkedin=
|Reddit=
}}

Edit the page to see the template text.

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