Difference between revisions of "Template:Infobox gathering"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
m (Added next meet option)
m (Added default values)
Line 26: Line 26:
 
<includeonly>
 
<includeonly>
 
<div class="infobox">
 
<div class="infobox">
<div class="infoboxTitle">{{{event_name|n/a}}}</div>
+
<div class="infoboxTitle">{{{event_name|Annual Event}}}</div>
 
<div class="infoboxImage">[[{{{event_image}}}|300px]]<br /><span class="infoboxCaption">{{{event_caption}}}</span></div>
 
<div class="infoboxImage">[[{{{event_image}}}|300px]]<br /><span class="infoboxCaption">{{{event_caption}}}</span></div>
 
<div class="infoboxSubtitle">Quick Info</div>
 
<div class="infoboxSubtitle">Quick Info</div>
 
<table class="infoboxTable">
 
<table class="infoboxTable">
<tr><td class="infoboxLabel">First Meet</td><td>{{{first_meet_date}}}<br />{{{first_meet_location}}}</td></tr>
+
<tr><td class="infoboxLabel">First Meet</td><td>{{{first_meet_date|n/a}}}<br />{{{first_meet_location|}}}</td></tr>
<tr><td class="infoboxLabel">Latest Meet</td><td>{{{latest_meet_date}}}<br />{{{latest_meet_location}}}</td></tr>
+
<tr><td class="infoboxLabel">Latest Meet</td><td>{{{latest_meet_date|n/a}}}<br />{{{latest_meet_location|}}}</td></tr>
<tr><td class="infoboxLabel">Next Meet</td><td>{{{next_meet_date}}}<br />{{{next_meet_location}}}</td></tr>
+
<tr><td class="infoboxLabel">Next Meet</td><td>{{{next_meet_date|TBA}}}<br />{{{next_meet_location|}}}</td></tr>
<tr><td class="infoboxLabel">Max Attendance</td><td>{{{max_attendance_count}}} ({{{max_attendance_event_year}}})</td></tr>
+
<tr><td class="infoboxLabel">Max Attendance</td><td>{{{max_attendance_count|n/a}}} ({{{max_attendance_event_year|}}})</td></tr>
<tr><td class="infoboxLabel">Committee Members</td><td>{{{committee_members}}}</td></tr>
+
<tr><td class="infoboxLabel">Committee Members</td><td>{{{committee_members|n/a}}}</td></tr>
<tr><td class="infoboxLabel">Past Locations</td><td>{{{locations}}}</td></tr>
+
<tr><td class="infoboxLabel">Past Locations</td><td>{{{locations|n/a}}}</td></tr>
<tr><td class="infoboxLabel">Website</td><td>{{{website}}}</td></tr>
+
<tr><td class="infoboxLabel">Website</td><td>{{{website|n/a}}}</td></tr>
 
</table>
 
</table>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 01:42, August 10, 2012

Overview[edit]

This template is used to create an info box for gatherings.

Usage[edit]

To add this infobox to your gathering page, simply include the following and add the values accordingly:

{{Infobox gathering
| event_name=
| event_image=
| event_caption=
| first_meet_date=
| first_meet_location=
| latest_meet_date=
| latest_meet_location=
| next_meet_date=
| next_meet_location=
| max_attendance_count=
| max_attendance_event_year=
| committee_members=
| locations=
| website=
}}