Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
 
(125 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>
This template simplifies the creation of articles about [[Event|Events]]. When inserted in a directory's page, it creates a decorative table with information about the content provided. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
+
__NOTOC__
 
+
<div style="float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;">
To use this template, insert the following at the beginning of your page. All fields are optional and should be omitted if no information is available. The page name should reflect the name of the Case Study. It should be called in the following format:
+
<h5>[[Events]]</h5>
<pre>
+
<p>''{{{EventType|}}}'' in {{{Location|}}}</p>
{{Event
+
<p>{{{date|}}}</p>
|EventType=
+
'''{{{Mainurl}}}'''
|Mainurl=
+
</div>
|Date=
+
<div style="clear:both;"></div>
|City=
+
</div>
|Country=
+
<br />
|Division=
 
|Attendance=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: center; clear: left; text-align:left;"  
 
{| border="1" cellpadding="3" cellspacing="0"
 
!style="text-align: left; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
! Event Type:
 
| {{#arraymap:{{{EventType|}}}|,|x|[[EventType::x]]}}
 
|-
 
! URL:
 
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
 
|-
 
! Date: 
 
| {{#arraymap:{{{Date|}}}|,|x|[[Date::x]]}}
 
|-
 
! City:
 
| {{#arraymap:{{{City|}}}|,|x|[[City::x]]}}
 
|-
 
! Country:
 
| {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
 
|-
 
! CC Division:
 
| {{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}}
 
|-
 
! CC Attendance:
 
| {{#arraymap:{{{Attendance|}}}|,|x|[[Attendance::x]]}}
 
 
 
|}
 
 
 
 
[[Category:Event]]
 
[[Category:Event]]
 
</includeonly>
 
</includeonly>

Latest revision as of 19:02, 15 June 2015