Template:EventTemplate: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<!-- Step 1: Retrieve event data from the Cargo table ( | <!-- Step 1: Retrieve event data from the Cargo table (correctly populate the fields) --> | ||
{{#cargo_query: | {{#cargo_query: | ||
table=events | table=events | ||
Line 12: | Line 12: | ||
}} | }} | ||
<!-- Step 2: | <!-- Step 2: Create a Google Form pre-filled link --> | ||
{| | {{#vardefine:event_date_encoded|{{#urlencode:{{#var:event_date}}}}}} | ||
{{#vardefine:event_time_encoded|{{#urlencode:{{#var:event_time}}}}}} | |||
{{#vardefine:event_location_encoded|{{#urlencode:{{#var:event_location}}}}}} | |||
{{#vardefine:event_description_encoded|{{#urlencode:{{#var:event_description}}}}}} | |||
| | |||
| | |||
| | |||
<!-- Step 3: | <!-- Step 3: Display the Google Form pre-fill link for submitting events --> | ||
[https://docs.google.com/forms/d/e/1FAIpQLSf_OtfXtaGQ8kl9WrBz8UL7f2WjPI6WhmuoaeV-F3ZWKJbeUg/viewform?usp=pp_url&entry.26084320= | [https://docs.google.com/forms/d/e/1FAIpQLSf_OtfXtaGQ8kl9WrBz8UL7f2WjPI6WhmuoaeV-F3ZWKJbeUg/viewform?usp=pp_url&entry.26084320={{#var:event_date_encoded}}&entry.973803386={{#var:event_time_encoded}}&entry.792169663={{#var:event_location_encoded}}&entry.1604572264={{#var:event_description_encoded}} 📤 Submit this event to the Regenerate Willamette Valley Calendar] | ||
[[Category:Events]] | [[Category:Events]] | ||
</includeonly> | </includeonly> |
Latest revision as of 21:23, 9 April 2025
This is the "EventTemplate" template.
It should be called in the following format:
{{EventTemplate |event_date= |event_time= |event_location= |event_description= }}
Edit the page to see the template text.
This template defines the table "events". View table.