Difference between revisions of "Template:Events"

From Beyond Social
(Created page with "<noinclude> This is the "event" template. It should be called in the following format: <pre> {{event |Title= |date= |description= }} </pre> Edit the page to see the template t...")
 
m (15 revisions imported: import from temporary local wiki)
 
(14 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>
{{event
+
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.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude>
! Title
 
| <div class="event_title">{{{Title|}}}</div>
 
|-
 
! Editor's Author
 
| <div class="event_date">{{{Date|}}}</div>
 
|-
 
! Issues
 
| <div class="event_description">{{{Description|}}}</div>
 
|}
 
  
 
+
<includeonly><div class="events-wrapper">
[[Category:event]]
+
<div class="date">{{{2}}}</div>
</includeonly>
+
<div class="info"><span class="title">{{{1}}}</span>, <span class="location">{{{3}}}</span></div>
<noinclude>
+
</div></includeonly>
</noinclude>
 

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