Template:Event: Difference between revisions

From Asian Canadian Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Site templates]]
This is the "Event" template.
This is the "Event" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Event
{{Event
|People=
|Presenter=
|Location=
|Location=
|GPS Location=
|GPS Location=
Line 15: Line 16:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{ #if: {{{Tags|}}} |
{{ #if: {{{Image|}}}
{{#arraymap:{{{Tags}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
|<div style="float: right; width: 400px">[[File:{{{Image}}}|390px]]</div>
<!-- {{#arraymap:{{{Tags}}}|,|x|[[Tags::x]] |<nowiki> </nowiki>}} -->
{{ #set: Image={{{Image}}}}}
}}
{{ #if: {{{Events|}}} |
{{#arraymap:{{{Events}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
<!-- {{#arraymap:{{{Events}}}|,|x|[[Events::x]] |<nowiki> </nowiki>}} -->
| }}
| }}
{{ #set:GPS Location={{ #geocode: {{{Location}}} }} }}
{{ #set:GPS Location={{ #geocode: {{{Location}}} }} }}
{| class="wikitable"
{| class="wikitable"
! People
! Presenter
| {{#arraymap:{{{People|}}}|,|x|[[People::x]]}}
| {{#arraymap:{{{People|}}}|,|x|[[People::x]]}}
|-
|-
Line 29: Line 34:
! Home page
! Home page
| [[Home page::{{{Home page|}}}]]
| [[Home page::{{{Home page|}}}]]
|-
! Image
| [[Image::{{{Image|}}}]]
|-
|-
! Start date
! Start date
Line 39: Line 41:
| [[End date::{{{End date|}}}]]
| [[End date::{{{End date|}}}]]
|}
|}
'''Asian Canadian Wiki is not an official schedule information source. Please verify all event details.'''


[[Category:Event]]
[[Category:Event]]
</includeonly>
</includeonly>

Latest revision as of 20:32, 14 March 2011

This is the "Event" template. It should be called in the following format:

{{Event
|Presenter=
|Location=
|GPS Location=
|Home page=
|Image=
|Start date=
|End date=
}}

Edit the page to see the template text.