Difference between revisions of "Template:Event"

From Creative Commons
Jump to: navigation, search
Line 10: Line 10:
 
|Country=
 
|Country=
 
|Division=
 
|Division=
|CCStatus=
+
|Attendance=
 
}}
 
}}
 
</pre>
 
</pre>
Line 34: Line 34:
 
| {{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}}
 
| {{#arraymap:{{{Division|}}}|,|x|[[Division::x]]}}
 
|-
 
|-
! CC Status:
+
! CC Attendance:
| {{#arraymap:{{{CCStatus|}}}|,|x|[[CCStatus::x]]}}
+
| {{#arraymap:{{{Attendance|}}}|,|x|[[Attendance::x]]}}
  
 
|}
 
|}

Revision as of 22:11, 24 March 2008

This template simplifies the creation of articles about 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.

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:

{{Event
|Mainurl=
|Date=
|City=
|Country=
|Division=
|Attendance=
}}

Edit the page to see the template text.