Difference between revisions of "Template:Event"

From Beyond Social
(About)
 
(97 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Event" template.
+
=About=
It should be called in the following format:
+
This is the "Event" template. This template is used in combination with the [[Form:Event]].  
 +
 
 +
It includes the following elements:
 
<pre>
 
<pre>
{{event
+
Location
|Title=
+
Date
|Date=
+
Enddate
|Description=
+
Time
}}
+
Type
 +
Image
 +
Caption
 +
About
 +
Article Selection (multiple)
 +
  Article
 +
Links (multiple)
 +
  link
 +
Documentation
 +
More events
 
</pre>
 
</pre>
 +
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude>
 
 
<includeonly>
 
 
[[Category:Events]]
 
[[Title::{{{Title}}}| ]]
 
[[Date::{{{Date}}}| ]]
 
[[Description:{{{Image|}}}| ]]
 
[[Template::Template:Event| ]]
 
  
 +
</noinclude><includeonly><div class="event-page">
 +
<div class="subtitle">{{{Subtitle| }}}</div>
 +
<div class="image">[[File:{{{Image|None.png}}}|Image for {{PAGENAME}}]]</div>
 +
<div class="caption">{{{Caption| }}}</div>
 +
<div class="info metadata">
 +
<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__
{{{Title|}}}
+
[[Category:Events]][[Location::{{{Location| }}}| ]][[Date::{{{Date| }}}| ]][[Thumb::{{{Image| }}}| ]][[Template::Template:Event| ]][[Enddate::{{#time:j F Y|{{{Enddate| }}} }}| ]]
{{{Date|}}}
+
=About=
{{{Description|}}}
+
<div class="about">{{{About|This event still needs a description.}}}</div>
 
+
==Links==
</includeonly>
+
</div></includeonly>

Latest revision as of 03: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.