Template:Event: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(test)
m (fix)
 
(4 intermediate revisions by 2 users not shown)
Line 19: Line 19:
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{cost|}}}|{{{cost}}}}}
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{cost|}}}|{{{cost}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | cost
! style="background:#eee; padding:2px 5px;" | calendar
! style="padding:2px 5px; font-weight:normal;"| {{#if:{{{calendar|}}}|{{{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 36: 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 44: 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.