Difference between revisions of "Template:Event"

From Beyond Social
(About)
 
(87 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
|Title=
+
Date
|Date=
+
Enddate
|Description=
+
Time
}}
+
Type
 +
Image
 +
Caption
 +
About
 +
Article Selection (multiple)
 +
  Article
 +
Links (multiple)
 +
  link
 +
Documentation
 +
More events
 
</pre>
 
</pre>
  
It also adds metadata:
 
<pre>
 
1. title (not displayed)
 
2. Creation date
 
3. Last modification date
 
4. Last editor(s)
 
</pre>
 
 
Edit the page to see the template text.
 
Edit the page to see the template text.
  
</noinclude>
+
</noinclude><includeonly><div class="event-page">
 
+
<div class="subtitle">{{{Subtitle| }}}</div>
<includeonly>
+
<div class="image">[[File:{{{Image|None.png}}}|Image for {{PAGENAME}}]]</div>
 
+
<div class="caption">{{{Caption| }}}</div>
[[Category:Events]]
+
<div class="info metadata">
[[Title::{{{Title}}}| ]]
+
<div class="location"><div class="key">'''Location''':</div>{{{Location|}}}</div>
[[Date::{{{Date}}}| ]]
+
<div class="date-time">
[[Description::{{{Description}}}| ]]
+
<div class="date"><div class="key">'''Date''': </div><span class="value">{{#show: {{PAGENAME}} |?Date }}</span></div>
[[Template::Template:Event| ]]
+
<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]][[Location::{{{Location| }}}| ]][[Date::{{{Date| }}}| ]][[Thumb::{{{Image| }}}| ]][[Template::Template:Event| ]][[Enddate::{{#time:j F Y|{{{Enddate| }}} }}| ]]
<div class="title">{{{Title|}}}</div>
+
=About=
<div class="info">{{{Date|}}}</div>
+
<div class="about">{{{About|This event still needs a description.}}}</div>
<div class="description">{{{Description|}}}</div>
+
==Links==
 
+
</div></includeonly>
{{#ask:  
 
[[Title::{{{Title}}}]]
 
|?Creation date
 
|?Modification date
 
|?Last editor is
 
|format=template
 
|template=Metadata
 
}}
 
 
 
</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.