Template:SatelliteEvents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{#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}} | {{#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}} | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=SatelliteEvents | tables=SatelliteEvents | ||
|fields=MainEvent,Year,EventCategory1,EventCategory2,EventCategory3,EventCategory4,EventCategory5,StartDate,StartTime,EndTime,Duration,EventName,EventCategoryEmojis,URL,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 | |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}}' | |where= SatelliteEvents._pageName= '{{PAGENAME}}' | ||
|format=template | |format=template |
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.