Difference between revisions of "Template:Infobox gathering"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
m (Added default values)
m (Fixed styling)
 
(3 intermediate revisions by the same user not shown)
Line 25: Line 25:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="infobox">
+
<div class="infobox" style="float: right;">
<div class="infoboxTitle">{{{event_name|Annual Event}}}</div>
+
<div class="infoboxTitle" style="font-weight: bold;text-align: center; background-color: #eee;">{{{event_name|Annual Event}}}</div>
<div class="infoboxImage">[[{{{event_image}}}|300px]]<br /><span class="infoboxCaption">{{{event_caption}}}</span></div>
+
<div class="infoboxImage" style="text-align: center;">[[{{{event_image}}}|300px]]<br /><span class="infoboxCaption">{{{event_caption}}}</span></div>
<div class="infoboxSubtitle">Quick Info</div>
+
<div class="infoboxSubtitle" style="text-align: center;">Quick Info</div>
 
<table class="infoboxTable">
 
<table class="infoboxTable">
<tr><td class="infoboxLabel">First Meet</td><td>{{{first_meet_date|n/a}}}<br />{{{first_meet_location|}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">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|n/a}}}<br />{{{latest_meet_location|}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">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|TBA}}}<br />{{{next_meet_location|}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">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|n/a}}} ({{{max_attendance_event_year|}}})</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">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|n/a}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">Committee Members</td><td>{{{committee_members|n/a}}}</td></tr>
<tr><td class="infoboxLabel">Past Locations</td><td>{{{locations|n/a}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">Past Locations</td><td>{{{locations|n/a}}}</td></tr>
<tr><td class="infoboxLabel">Website</td><td>{{{website|n/a}}}</td></tr>
+
<tr><td class="infoboxLabel" style="vertical-align: top;">Website</td><td>{{{website|n/a}}}</td></tr>
 
</table>
 
</table>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 11:15, June 22, 2020

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=
}}