Difference between revisions of "Template:Event"

From Beyond Social
(About)
 
(63 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="image">[[File:{{{Image|}}}|Image for {{PAGENAME}}]]</div>
+
<div class="subtitle">{{{Subtitle| }}}</div>
<div class="caption">{{{Caption}}}</div>  
+
<div class="image">[[File:{{{Image|None.png}}}|Image for {{PAGENAME}}]]</div>
<div class="location"><div class="key">Location:</div>{{{Location|}}}</div>
+
<div class="caption">{{{Caption| }}}</div>
<div class="date"><div class="key">Date:</div>{{{Date|}}}</div>
+
<div class="info metadata">
<div class="time"><div class="key">Time:</div>{{{Time|}}}</div>
+
<div class="location"><div class="key">'''Location''':</div>{{{Location|}}}</div>
 +
<div class="date-time">
 +
<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">{{#show: {{PAGENAME}} |?Enddate}}</span></div>
 +
<div class="time"><div class="key"></div><span class="value">{{{Time|}}}</span></div>
 +
</div>
 +
</div>
 +
{{#default_form:Event}}
 
__NOTOC__
 
__NOTOC__
[[Category:Events]]
+
[[Category:Events]][[Location::{{{Location| }}}| ]][[Date::{{{Date| }}}| ]][[Thumb::{{{Image| }}}| ]][[Template::Template:Event| ]][[Enddate::{{#time:j F Y|{{{Enddate| }}} }}| ]]
[[Location::{{{Location}}}| ]]
 
[[Date::{{{Date}}}| ]]
 
[[Thumb::{{{Image}}}| ]]
 
[[Template::Template:Event| ]]
 
 
=About=
 
=About=
<div class="about">{{{About|}}}</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.