Template:Event: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(+start)
 
m (fix)
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | what
! style="background:#eee; padding:2px 5px;" | what
! style="padding:2px 5px;"| {{#if:{{{description|}}}|{{{description}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{description|}}}|{{{description}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | date
! style="background:#eee; padding:2px 5px;" | date
! style="padding:2px 5px;"| {{#if:{{{date|}}}|{{{date}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{date|}}}|{{{date}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | time
! style="background:#eee; padding:2px 5px;" | time
! style="padding:2px 5px;"| {{#if:{{{time|}}}|{{{time}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{time|}}}|{{{time}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | where
! style="background:#eee; padding:2px 5px;" | where
! style="padding:2px 5px;"| {{#if:{{{where|}}}|{{{where}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{where|}}}|{{{where}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | cost
! style="background:#eee; padding:2px 5px;" | cost
! style="padding:2px 5px;"| {{#if:{{{cost|}}}|{{{cost}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{cost|}}}|{{{cost}}}}}
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | calendar
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{calendar url|}}}|<span class="plainlinks">[{{{calendar url}}}}}{{#if:{{{calendar label|}}}|<nowiki> </nowiki>{{{calendar label}}}}}{{#if:{{{calendar url|}}}|]</span>}}
|}
|}
<noinclude><div style="width:600px;background:#efefe0;border:1px solid #ddc;padding:5px 15px 10px;margin:20px 30px 0px;">
<noinclude><div style="width:600px;background:#efefe0;border:1px solid #ddc;padding:5px 15px 10px;margin:20px 30px 0px;">
Line 33: Line 36:
| where =&nbsp;<br />
| where =&nbsp;<br />
| cost =&nbsp;<br />
| cost =&nbsp;<br />
| calendar url =&nbsp;<br />
| calendar label =&nbsp;<br />
}}
}}
</code>
</code>
Line 41: Line 46:
'''description'''
'''description'''
* A short description of the event. Is placed next to the "what" label.
* A short description of the event. Is placed next to the "what" label.
'''calendar url'''
* The URL to a calendar entry, for example to its listing on Calagator. Include <code>http://</code>.
'''calendar label'''
* What you want the calendar link text to be. For example, "Example Calendar" if you want [http://example.com Example Calendar].


</div>
</div>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:08, 16 February 2011

Event
what
date
time
where
cost
calendar

Template notes

This template is placed at the top of event pages. It provides basic, at-a-glance facts about the event.

Instructions

The entire code as follows should be used:

{{Event
| description = 
| date = 
| time = 
| where = 
| cost = 
| calendar url = 
| calendar label = 
}}

Information you don't know should be left blank.

Notes

description

  • A short description of the event. Is placed next to the "what" label.

calendar url

  • The URL to a calendar entry, for example to its listing on Calagator. Include http://.

calendar label

  • What you want the calendar link text to be. For example, "Example Calendar" if you want Example Calendar.