Template:Event: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 41: Line 41:
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|Region=String|Water_Body=String|Location=String|ShowMap=Boolean|Coordinates=Coordinates|Topic=String|SubTitle=String|Text_Body=Wikitext|Page=Page|Keywords=String|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|Region=String|Water_Body=String|Location=String|ShowMap=Boolean|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|}}}|Region={{{Region|}}}|Water_Body={{{Water_Body|}}}|Location={{{Location|}}}|Street={{{Street|}}}|City={{{City|}}}|State={{{LState|}}}|Zip={{{Zip|}}}|ShowMap={{{ShowMap|}}}|Coordinates={{{Coordinates|}}}|Topic={{{Topic|}}}|SubTitle={{{SubTitle|}}}|Text_Body={{{Text_Body|}}}|Page={{{Page|}}}|Keywords={{{Keywords|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}
</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|}}}|Region={{{Region|}}}|Water_Body={{{Water_Body|}}}|Location={{{Location|}}}|Street={{{Street|}}}|City={{{City|}}}|State={{{State|}}}|Zip={{{Zip|}}}|ShowMap={{{ShowMap|}}}|Coordinates={{{Coordinates|}}}|Topic={{{Topic|}}}|SubTitle={{{SubTitle|}}}|Text_Body={{{Text_Body|}}}|Page={{{Page|}}}|Keywords={{{Keywords|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}
<div class="irlbody" style="width:100%;float:left">
<div class="irlbody" style="width:100%;float:left">
{{IRL_header_event|notoc}}
{{IRL_header_event|notoc}}
Line 48: Line 48:
<div class="irleventtitle">{{{Name|}}} - {{#time: F d, Y|{{{Start_Date|}}} }}</div>
<div class="irleventtitle">{{{Name|}}} - {{#time: F d, Y|{{{Start_Date|}}} }}</div>
{{#if:{{{SubTitle|}}} | <div class="irleventsubtitle">{{{SubTitle|}}}</div>}}
{{#if:{{{SubTitle|}}} | <div class="irleventsubtitle">{{{SubTitle|}}}</div>}}
{{#if:{{{Image|}}} | <div class="irleventimage">[[File:{{{Image|}}}|640px|thumb|left|alt={{{Name|}}}|link={{{Url|}}}]]</div>}}
{{#if:{{{Image|}}} | <div class="irleventimage">[[File:{{{Image|}}}|640px|thumb|left|{{{Name|}}}|link={{{Organization_Url|}}}]]</div>}}
</div>
</div>
<div class="irleventmiddle">
<div class="irleventmiddle">

Revision as of 10:28, February 12, 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.