Template:Event: Difference between revisions

Public wiki for the 1904 Louisiana Purchase Exposition
(Replaced content with "{{#cargo_compound_query: |tables=Event;fields=_pageName,Start,End;color=green |tables=Event;where=Category HOLDS "DNS";fields=_pageName,Start,End;color=red |format=calendar}}")
Tag: Replaced
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_compound_query:
<noinclude>This template holds information on the calendar event table. It should be called in the following format:
|tables=Event;fields=_pageName,Start,End;color=green
<pre>
|tables=Event;where=Category HOLDS "DNS";fields=_pageName,Start,End;color=red
{{Event
|format=calendar}}
|start_date = The start datetime of the event
|end_date = The end datetime of the event
|title = Title of the event
|linkto = The wiki link of the page when clicked
|description = A description of the event
|category = The category of the event
}}
</pre> {{#cargo_declare:_table = Event|start_date= Date|end_date=Date  |title = String | linkto= String | description=String| category=String}}
</noinclude>

Latest revision as of 06:39, 22 February 2024

This template holds information on the calendar event table. It should be called in the following format:

{{Event
|start_date = The start datetime of the event
|end_date = The end datetime of the event
|title = Title of the event
|linkto = The wiki link of the page when clicked
|description = A description of the event
|category = The category of the event
}}

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