Template:Event: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 67: | Line 67: | ||
</div> | </div> | ||
<div class="irleventmiddle"> | <div class="irleventmiddle"> | ||
< | <div class="irleventlabel">Where: </div> | ||
{{# | {{#switch: {{{Format|}}} | ||
| Online = <div class="irleventlocation">Online Event</div> | |||
| #default = {{#if:{{{Location|}}}|<div class="irleventlocation">{{{Location|}}}</div>}} | |||
{{#if:{{{Street|}}}|<div class="irleventstreet">{{{Street|}}}</div>}} | {{#if:{{{Street|}}}|<div class="irleventstreet">{{{Street|}}}</div>}} | ||
{{#if:{{{City|}}} | <div class="irleventcity">{{{City|}}} {{#if:{{{State|}}}|, {{{State|}}}|}} {{#if:{{{Zip|}}}| {{{Zip|}}} | {{#if:{{{City|}}} | <div class="irleventcity">{{{City|}}} {{#if:{{{State|}}}|, {{{State|}}}|}} {{#if:{{{Zip|}}}| {{{Zip|}}} }}</div>}} | ||
{{#if:{{{ShowMap|}}} | {{#if:{{{Coordinates|}}}|<div class="irleventmap"><div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Map" data-collapsetext="Hide Map">Coordinates: {{{Coordinates|}}} | {{#if:{{{ShowMap|}}} | {{#if:{{{Coordinates|}}}|<div class="irleventmap"><div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Map" data-collapsetext="Hide Map">Coordinates: {{{Coordinates|}}} | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{#cargo_display_map:point= {{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|27.969289,-80.9981331}}|service=googlemaps|width=inherit|height= | {{#cargo_display_map:point= {{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|27.969289,-80.9981331 }}|service=googlemaps|width=inherit|height=400px|zoom=12 }}</div></div></div> }} }} | ||
</div></div> }} }} }} | }} | ||
</div> | </div> | ||
<div class="irleventmiddle"> | <div class="irleventmiddle"> | ||
{{#if:{{{Cause|}}}|<div class="irleventcause" | <div class="irleventlabel">Why: </div> | ||
{{#if:{{{Cause|}}}|<div class="irleventcause">Cause: {{{Cause|}}}</div>}} | |||
{{#if:{{{Type|}}}|<div class="irleventtype">Event Type: {{{Type|}}}</div>}} | {{#if:{{{Type|}}}|<div class="irleventtype">Event Type: {{{Type|}}}</div>}} | ||
{{#if:{{{Region|}}}|<div class="irleventregion">Region: {{{Region|}}}</div>}} | |||
{{#if:{{{Water|}}}|<div class="irleventwater">Water Body: {{{Water|}}}</div>}} | {{#if:{{{Water|}}}|<div class="irleventwater">Water Body: {{{Water|}}}</div>}} | ||
</div> | </div> | ||
Line 87: | Line 91: | ||
<div class="irleventbottom"> | <div class="irleventbottom"> | ||
{{#ifexist:{{{Article|}}}|<div class="irleventpage">Related Article: [[{{{Article|}}}]]</div>|}} | {{#ifexist:{{{Article|}}}|<div class="irleventpage">Related Article: [[{{{Article|}}}]]</div>|}} | ||
{{#if:{{{Topic|}}}|<div class="irleventtopic"> | {{#if:{{{Topic|}}}|<div class="irleventtopic">Topic: [[:Category:{{{Topic|}}}{{!}}{{{Topic|}}}]]</div>}} | ||
<!-- <div class="irleventpost"><span class="irleventposter">Poster: {{{Poster|}}}</span><span class="irleventposted">Posted: {{#time: m/d/Y|{{{Posted|}}} }}</span></div> --> | <!-- <div class="irleventpost"><span class="irleventposter">Poster: {{{Poster|}}}</span><span class="irleventposted">Posted: {{#time: m/d/Y|{{{Posted|}}} }}</span></div> --> | ||
</div></div></div> | </div></div></div> |
Revision as of 07:51, December 25, 2020
This is the "Event" template. It should be called in the following format:
{{Event |Name= |Event_Date= |Start_Date= |End_Date= |Description= |People= |Organization= |Organization_Url= |Contact_Name= |Contact_Email= |Contact_Phone= |Event_Url= |Social_Type= |Social_Name= |Social_Url= |Type= |Format= |Location= |Street= |City= |State= |Zip= |ShowMap= |Coordinates= |Cause= |Region= |Water= |Image= |SubTitle= |Text_Body= |Topic= |Article= |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. |