Difference between revisions of "Template:Trip signup"

From VOC Wiki
Jump to: navigation, search
Line 13: Line 13:
 
imageleft =Open_Green_Lock.png |
 
imageleft =Open_Green_Lock.png |
 
heading =Signup Open|:
 
heading =Signup Open|:
message =This sign up section is currently '''Open''' {{#if:{{{pretrip}}}|until the pre-trip meeting}}|
+
message = This sign up section is currently '''Open''' {{#if:{{{pretrip|}}}|until the pre-trip meeting}}|
 
imageright = Green Clock.png
 
imageright = Green Clock.png
 
}}
 
}}

Revision as of 10:46, 20 September 2008

No Write.png Signup Closed
This is the sign up and organization page for an old trip. It already happened on {{{day}}}/{{{month}}}/{{{year}}}. Please do not sign up for it.


Usage

Put this template at the top of the signup section in your trip organization page. If the current date is after the date of the trip, the template will display a "Signup Closed" message so people don't sign up for the trip. The template will show a "Signup Lock" message until a pre-selected number of days before the trip. At this point, the "Signup Open" banner will appear, allowing members to signup until the start of the trip.

Parameters

  • day: day of trip (ex.: 28)
  • month: month of trip (ex.: 12)
  • year: year of trip (ex.: 2008)
  • open: Signup window in number of days before the trip (ex. 14)
  • pretrip: set to 1 if there is a pre trip meeting.

Examples

For a trip on the (dd/mm/yyyy) and having a 14-day signup window before the trip, use:

{{Trip signup|dd|mm|yyyy|14}}

Types of banners

Clear Red Lock.png Signup Closed Clock Warning.png
This sign up section is currently closed. Please do not sign up. The sign up will open 4 days before the tentative trip date (15-07-2020). How does this work?



Clear Red Lock.png Signup Closed Clock Warning.png
This sign up section is currently closed. Please do not sign up. The sign up will open 4 days before the tentative trip date (15-07-2020). How does this work?



Open Green Lock.png Signup Open Green Clock.png
This sign up section is currently Open until the pre-trip meeting. How do VOC trips work?



Open Green Lock.png Signup Open Green Clock.png
This sign up section is currently Open - How do VOC trips work?



No Write.png Signup Closed
This is the sign up and organization page for an old trip. It already happened on 10-07-2020. Please do not sign up for it.