Difference between revisions of "Template:Event"

From Beyond Social
(About)
 
(29 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
This is the "Event" template. This template is used in combination with the [[Form:Event]].  
 
This is the "Event" template. This template is used in combination with the [[Form:Event]].  
  
It should be called in the following format:
+
It includes the following elements:
 
<pre>
 
<pre>
{{event
+
Location
|Date=
+
Date
|Location=
+
Enddate
|Image=
+
Time
|Description=
+
Type
|Links=
+
Image
}}
+
Caption
 +
About
 +
Article Selection (multiple)
 +
  Article
 +
Links (multiple)
 +
  link
 +
Documentation
 +
More events
 
</pre>
 
</pre>
  
Line 17: Line 24:
  
 
</noinclude><includeonly><div class="event-page">
 
</noinclude><includeonly><div class="event-page">
 +
<div class="subtitle">{{{Subtitle| }}}</div>
 
<div class="image">[[File:{{{Image|None.png}}}|Image for {{PAGENAME}}]]</div>
 
<div class="image">[[File:{{{Image|None.png}}}|Image for {{PAGENAME}}]]</div>
 
<div class="caption">{{{Caption| }}}</div>  
 
<div class="caption">{{{Caption| }}}</div>  
<div class="info">
+
<div class="info metadata">
<div class="location"><div class="key">Location:</div>{{{Location|}}}</div>
+
<div class="location"><div class="key">'''Location''':</div>{{{Location|}}}</div>
 
<div class="date-time">
 
<div class="date-time">
<div class="date"><div class="key">'''Start''': </div><span class="value">{{{Date| }}}</span></div>
+
<div class="date"><div class="key">'''Date''': </div><span class="value">{{#show: {{PAGENAME}} |?Date }}</span></div>
<div class="enddate"><div class="key"></div><span class="value">{{{Enddate| }}}</span></div>
+
<div class="enddate"><div class="key"></div><span class="value">{{#show: {{PAGENAME}} |?Enddate}}</span></div>
<div class="time"><div class="key"></div><span class="value">{{{Time| }}}</span></div>
+
<div class="time"><div class="key"></div><span class="value">{{{Time|}}}</span></div>
 
</div>
 
</div>
 
</div>
 
</div>
 
{{#default_form:Event}}
 
{{#default_form:Event}}
 
__NOTOC__
 
__NOTOC__
[[Category:Events]][[Location::{{{Location| }}}| ]][[Date::{{{Date| }}}| ]][[Thumb::{{{Image| }}}| ]][[Template::Template:Event| ]]
+
[[Category:Events]][[Location::{{{Location| }}}| ]][[Date::{{{Date| }}}| ]][[Thumb::{{{Image| }}}| ]][[Template::Template:Event| ]][[Enddate::{{#time:j F Y|{{{Enddate| }}} }}| ]]
 
=About=
 
=About=
 
<div class="about">{{{About|This event still needs a description.}}}</div>
 
<div class="about">{{{About|This event still needs a description.}}}</div>
 
 
==Links==
 
==Links==
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 02:09, 27 October 2020

About

This is the "Event" template. This template is used in combination with the Form:Event.

It includes the following elements:

Location
Date
Enddate
Time
Type
Image
Caption
About
Article Selection (multiple)
   Article
Links (multiple)
   link
Documentation
More events

Edit the page to see the template text.