Template:Venues: 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 14: Line 14:
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Venues|Address1=String|Address2=String|City=Page|ZipCode=String|Website=URL|MapLink=URL}}
{{#cargo_declare:_table=Venues|Address1=String|Address2=String|City=Page|ZipCode=String|Website=URL|MapLink=URL}}
</noinclude><includeonly>{{#cargo_store:_table=Venues}}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=Venues}}{| class="wikitable" style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f0f4f7; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#86c8fc;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
! Address
! Address
| {{{Address1|}}}
| {{{Address1|}}} {{LineBreak}} {{{Address2|}}}
|-
! Address Line 2
| {{{Address2|}}}
|-
|-
! City
! City
Line 39: Line 38:
{| class="wikitable sortable" style="text-align: center;"
{| class="wikitable sortable" style="text-align: center;"
|-
|-
! During !! Date !! Time !! Event !! F&B Options !! Organizer(s)
! During !! Date !! Time !! Event !! F&B Options !! Host(s)
{{#cargo_query:
{{#cargo_query:
tables=SatelliteEvents
tables=SatelliteEvents
|fields=MainEvent,StartDate,StartTime,EndTime,EventName,URL,EventType,LocationName,Address1,Address2,City,ZipCode,MapLink,RSVP,FBOptions,CONCAT('[[',Organizer1,']]')=Organizer1,CONCAT(', [[',Organizer2,']]')=Organizer2,CONCAT(', [[',Organizer3,']]')=Organizer3,CONCAT(', [[',Organizer4,']]')=Organizer4
|fields=MainEvent,StartDate,StartTime,EndTime,EventName,URL,EventCategory1,LocationName,Address1,Address2,City,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
|where= SatelliteEvents.LocationName= '{{PAGENAME}}'
|where= SatelliteEvents.LocationName= '{{PAGENAME}}'
|format=template
|format=template

Latest revision as of 15:54, 11 February 2024

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

{{Venues
|Address1=
|Address2=
|City=
|ZipCode=
|Website=
|MapLink=
}}

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