Template:Event: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 40: | Line 40: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Event|Name=String|Organization=String|Organization_Url=URL|Contact_Name=String|Contact_Email=Email|Contact_Phone=String|Event_Url=URL|Social_Type=String|Social_Name=String|Social_Url=URL|Description=Wikitext|Image=File|People=String|Type=String|Cause=String|Start_Date=Datetime|End_Date=Datetime|Water_Body=String|Location=String|Street=String|City=String|State=String|Zip=Integer|Region=String|Coordinates=Coordinates|Topic=String|SubTitle=String|Text_Body=Wikitext|Page=Page|Poster=String|Posted=String}} | {{#cargo_declare:_table=Event|Name=String|Organization=String|Organization_Url=URL|Contact_Name=String|Contact_Email=Email|Contact_Phone=String|Event_Url=URL|Social_Type=String|Social_Name=String|Social_Url=URL|Description=Wikitext|Image=File|People=String|Type=String|Cause=String|Start_Date=Datetime|End_Date=Datetime|Water_Body=String|Location=String|Street=String|City=String|State=String|Zip=Integer|Region=String|Coordinates=Coordinates|Topic=String|SubTitle=String|Text_Body=Wikitext|Page=Page|Keywords=String|Poster=String|Posted=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Event|Name={{{Name|}}}|Organization={{{Organization|}}}|Organization_Url={{{Organization_Url|}}}|Contact_Name={{{Contact_Name|}}}|Contact_Email={{{Contact_Email|}}}|Contact_Phone={{{Contact_Phone|}}}|Event_Url={{{Event_Url|}}}|Social_Type={{{Social_Type|}}}|Social_Name={{{Social_Name|}}}|Social_Url={{{Social_Url|}}}|Description={{{Description|}}}|Image={{{Image|}}}|People={{{People|}}}|Type={{{Type|}}}|Cause={{{Cause|}}}|Start_Date={{{Start_Date|}}}|End_Date={{{End_Date|}}}|Water_Body={{{Water_Body|}}} | </noinclude><includeonly>{{#cargo_store:_table=Event|Name={{{Name|}}}|Organization={{{Organization|}}}|Organization_Url={{{Organization_Url|}}}|Contact_Name={{{Contact_Name|}}}|Contact_Email={{{Contact_Email|}}}|Contact_Phone={{{Contact_Phone|}}}|Event_Url={{{Event_Url|}}}|Social_Type={{{Social_Type|}}}|Social_Name={{{Social_Name|}}}|Social_Url={{{Social_Url|}}}|Description={{{Description|}}}|Image={{{Image|}}}|People={{{People|}}}|Type={{{Type|}}}|Cause={{{Cause|}}}|Start_Date={{{Start_Date|}}}|End_Date={{{End_Date|}}}|Water_Body={{{Water_Body|}}} | ||
|Location={{{Location|}}}|Street={{{Street|}}}|City={{{City|}}}|State={{{State|}}}|Zip={{{Zip|}}}|Region={{{Region|}}}|Coordinates={{{Coordinates|}}}|Topic={{{Topic|}}}|SubTitle={{{SubTitle|}}}|Text_Body={{{Text_Body|}}}|Page={{{Page|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | |Location={{{Location|}}}|Street={{{Street|}}}|City={{{City|}}}|State={{{State|}}}|Zip={{{Zip|}}}|Region={{{Region|}}}|Coordinates={{{Coordinates|}}}|Topic={{{Topic|}}}|SubTitle={{{SubTitle|}}}|Text_Body={{{Text_Body|}}}|Page={{{Page|}}}|Keywords={{{Keywords|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | ||
<templatestyles src="Event/styles.css" /> | <templatestyles src="Event/styles.css" /> | ||
<div class="irlbody" style="width:100%;float:left"> | <div class="irlbody" style="width:100%;float:left"> | ||
Line 99: | Line 99: | ||
|locale=en_US | |locale=en_US | ||
|site_name={{SITENAME}} | |site_name={{SITENAME}} | ||
|published_time={{#time: {{{Posted|}}} | |published_time={{#time:r | {{{Posted|}}} }} | ||
}} }} | }} }} | ||
</includeonly> | </includeonly> |
Revision as of 17:03, November 15, 2020
This is the "Event" template. It should be called in the following format:
{{Event |Name= |Organization= |Organization_Url= |Contact_Name= |Contact_Email= |Contact_Phone= |Event_Url= |Social_Type= |Social_Name= |Social_Url= |Description= |Image= |People= |Type= |Cause= |Start_Date= |End_Date= |Region= |Water_Body= |Location= |Street= |City= |State= |Zip= |ShowMap= |Coordinates= |Topic= |SubTitle= |Text_Body= |Page= |Keywords= |Poster= |Posted= }}
Edit the page to see the template text. This template defines the table "Event". View table.
Event Template Documentation
Event Template uses event form to collect info for an event listing.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | no description | String | required |
Event_Date | Event_Date | no description | Date | required |
Start_Date | Start_Date | no description | Date | optional |
End_Date | End_Date | no description | Date | optional |
Description | Description | Enter a brief summary | Unknown | required |
People | People | Enter semi-colon separated credits ie: Title: Guest Name; Title2: Name2 | String | optional |
Organization | Organization | no description | String | optional |
Organization_Url | Organization_Url | Enter full path url (ie: https://...) | URL | optional |
Contact_Name | Contact_Name | no description | String | optional |
Contact_Email | Contact_Email | no description | String | optional |
Contact_Phone | Contact_Phone | no description | String | optional |
Event_Url | Event_Url | Enter a full path url ( ie: https://... ) | URL | optional |
Social_Type | Social_Type | no description | String | optional |
Social_Name | Social_Name | no description | String | optional |
Social_Url | Social_Url | no description | URL | optional |
Type | Type | no description | String | optional |
Format | Format | no description | String | optional |
Location | Location | no description | String | optional |
Street | Street | no description | String | optional |
City | City | no description | String | optional |
State | State | no description | String | optional |
Zip | Zip | no description | String | optional |
ShowMap | ShowMap | no description | String | optional |
Coordinates | Coordinates | no description | String | optional |
Cause | Cause | no description | String | optional |
Region | Region | no description | String | optional |
Water | Water | no description | String | optional |
Image | Image | no description | File | optional |
SubTitle | SubTitle | no description | String | optional |
Text_Body | Text_Body | no description | Unknown | required |
Topic | Topic | no description | String | optional |
Article | Article | no description | Page name | optional |
Keywords | Keywords | no description | String | optional |
Poster | Poster | no description | String | optional |
Posted | Posted | no description | String | optional |
The above documentation is transcluded from Template:Event/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |