Difference between revisions of "Template:Events"

From Beyond Social
m (15 revisions imported: import from temporary local wiki)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "event" template.
+
This is the "events" template. This template uses the SMW tags of pages that are made with the Form:Event form.
It should be called in the following format:
 
  
 +
It includes the following SMW tags:
 
<pre>
 
<pre>
{{events
+
1. Title
|Title=
+
2. Date
|Date=
+
3. Location
|Description=
+
</pre>Description
}}
 
</pre>
 
  
 
Edit the page to see the template text.
 
Edit the page to see the template text.
Line 15: Line 13:
  
 
<includeonly><div class="events-wrapper">
 
<includeonly><div class="events-wrapper">
<div class="title">{{{1}}}</div>
+
<div class="date">{{{2}}}</div>
<div class="info">{{{2}}}</div>
+
<div class="info"><span class="title">{{{1}}}</span>, <span class="location">{{{3}}}</span></div>
<div class="info">{{{3}}}</div>
 
<div class="info">Added at {{{5}}}</div>
 
<div class="info">Last modified at {{{4}}} by {{{6}}}</div>
 
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 18:56, 10 October 2017

This is the "events" template. This template uses the SMW tags of pages that are made with the Form:Event form.

It includes the following SMW tags:

1. Title
2. Date
3. Location

Description

Edit the page to see the template text.