Template:SatelliteEvents: Difference between revisions

From Edd's Almanac
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:MainEvent|City|StartTimeUnixTimestamp|EndTimeUnixTimestamp|StartDate (label=Date)|StartTime (label=Start Time)|EndTime (label=End Time)|Duration|EventName (label=Event Name)|EventType (label=Event Type)|URL|LocationName (label=Venue)|Address1 (label=Street Address)|Address2 (label=Address Line 2)|ZipCode (label=Zip Code)|MapLink (label=Link To Map)|RSVP (label=RSVP Required)|StartingTicketPrice (label=Starting Ticket Price)|FBOptions (label=F&B Options)|Host1 (label=Host 1)|Host2 (label=Host 2)|Host3 (label=Host 3)|Host4 (label=Host 4)|Host5 (label=Host 5)|Host6 (label=Host 6)|Host7 (label=Host 7)|Host8 (label=Host 8)|Host9 (label=Host 9)|Host10 (label=Host 10)|Host11 (label=Host 11)|Host12 (label=Host 12)|Host13 (label=Host 13)|Host14 (label=Host 14)|Host15 (label=Host 15)|Notes|AddEventID (label=AddEvent ID)|Formatting1 (label=Wikitext Formatting 1)|Formatting2 (label=Wikitext Formatting 2)|Formatting3 (label=Wikitext Formatting 3)}}
{{#template_params:MainEvent|Year|EventCategory1 (label=Event Category 1)|EventCategory2 (label=Event Category 2)|EventCategory3 (label=Event Category 3)|EventCategory4 (label=Event Category 4)|EventCategory5 (label=Event Category 5)|City|StartTimeUnixTimestamp|EndTimeUnixTimestamp|StartDate (label=Date)|StartTime (label=Start Time)|EndTime (label=End Time)|Duration|EventName (label=Event Name)|EventCategoryEmojis (label=Event Category Emojis)|URL|LocationName (label=Venue)|Address1 (label=Street Address)|Address2 (label=Address Line 2)|ZipCode (label=Zip Code)|MapLink (label=Link To Map)|RSVP (label=RSVP Required)|StartingTicketPrice (label=Starting Ticket Price)|FBOptions (label=F&B Options)|Host1 (label=Host 1)|Host2 (label=Host 2)|Host3 (label=Host 3)|Host4 (label=Host 4)|Host5 (label=Host 5)|Host6 (label=Host 6)|Host7 (label=Host 7)|Host8 (label=Host 8)|Host9 (label=Host 9)|Host10 (label=Host 10)|Host11 (label=Host 11)|Host12 (label=Host 12)|Host13 (label=Host 13)|Host14 (label=Host 14)|Host15 (label=Host 15)|Notes|AddEventID (label=AddEvent ID)|Formatting1 (label=Wikitext Formatting 1)|Formatting2 (label=Wikitext Formatting 2)|Formatting3 (label=Wikitext Formatting 3)}}
{{#cargo_declare:_table=SatelliteEvents|MainEvent=Page|City=Page|StartTimeUnixTimestamp=String|EndTimeUnixTimestamp=String|StartDate=Date|StartTime=String|EndTime=String|Duration=String|EventName=String|EventType=String|URL=URL|LocationName=Page|Address1=String|Address2=String|ZipCode=String|MapLink=URL|RSVP=String|StartingTicketPrice=String|FBOptions=String|Host1=Page|Host2=Page|Host3=Page|Host4=Page|Host5=Page|Host6=Page|Host7=Page|Host8=Page|Host9=Page|Host10=Page|Host11=Page|Host12=Page|Host13=Page|Host14=Page|Host15=Page|Notes=Text|AddEventID=String|Formatting1=Wikitext|Formatting2=Wikitext|Formatting3=Wikitext}}
{{#cargo_declare:_table=SatelliteEvents|MainEvent=Page|Year=String|EventCategory1=String|EventCategory2=String|EventCategory3=String|EventCategory4=String|EventCategory5=String|City=Page|StartTimeUnixTimestamp=String|EndTimeUnixTimestamp=String|StartDate=Date|StartTime=String|EndTime=String|Duration=String|EventName=String|EventCategoryEmojis=String|URL=URL|LocationName=Page|Address1=String|Address2=String|ZipCode=String|MapLink=URL|RSVP=String|StartingTicketPrice=String|FBOptions=String|Host1=Page|Host2=Page|Host3=Page|Host4=Page|Host5=Page|Host6=Page|Host7=Page|Host8=Page|Host9=Page|Host10=Page|Host11=Page|Host12=Page|Host13=Page|Host14=Page|Host15=Page|Notes=Text|AddEventID=String|Formatting1=Wikitext|Formatting2=Wikitext|Formatting3=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=SatelliteEvents}}
</noinclude><includeonly>{{#cargo_store:_table=SatelliteEvents}}
{{#template_display:_format=standard}}
{{#cargo_query:
[[Form:Satellite_Event]]
tables=SatelliteEvents
[[Category:Satellite Events]]
|fields=MainEvent,Year,CONCAT('[[Category:{{{MainEvent}}} {{{Year}}} Satellite Events - ',EventCategory1,']]')=EventCategory1,CONCAT('[[Category:{{{MainEvent}}} {{{Year}}} Satellite Events - ',EventCategory2,']]')=EventCategory2,CONCAT('[[Category:{{{MainEvent}}} {{{Year}}} Satellite Events - ',EventCategory3,']]')=EventCategory3,CONCAT('[[Category:{{{MainEvent}}} {{{Year}}} Satellite Events - ',EventCategory4,']]')=EventCategory4,CONCAT('[[Category:{{{MainEvent}}} {{{Year}}} Satellite Events - ',EventCategory5,']]')=EventCategory5,StartDate,StartTime,EndTime,Duration,EventName,EventCategoryEmojis,URL,CONCAT('[[',LocationName,']]')=LocationName,Address1,Address2,City,ZipCode,MapLink,RSVP,StartingTicketPrice,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
|where= SatelliteEvents._pageName= '{{PAGENAME}}'
|format=template
|template=SatelliteEventSingular
|named args=yes
}}
 
 
</includeonly>
</includeonly>

Latest revision as of 18:07, 12 February 2024

This is the "SatelliteEvents" template.

It should be called in the following format:

{{SatelliteEvents
|MainEvent=
|Year=
|EventCategory1=
|EventCategory2=
|EventCategory3=
|EventCategory4=
|EventCategory5=
|City=
|StartTimeUnixTimestamp=
|EndTimeUnixTimestamp=
|StartDate=
|StartTime=
|EndTime=
|Duration=
|EventName=
|EventCategoryEmojis=
|URL=
|LocationName=
|Address1=
|Address2=
|ZipCode=
|MapLink=
|RSVP=
|StartingTicketPrice=
|FBOptions=
|Host1=
|Host2=
|Host3=
|Host4=
|Host5=
|Host6=
|Host7=
|Host8=
|Host9=
|Host10=
|Host11=
|Host12=
|Host13=
|Host14=
|Host15=
|Notes=
|AddEventID=
|Formatting1=
|Formatting2=
|Formatting3=
}}

Edit the page to see the template text.

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