Difference between revisions of "Template:Balloon-launch"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Attempting to add conditional features to series functions)
(Made all fields conditional)
Line 3: Line 3:
 
!colspan="2"| {{{img link}}}
 
!colspan="2"| {{{img link}}}
 
|-
 
|-
 +
{{#if:{{{launch date|}}}|
 
| <b>Launch date</b>
 
| <b>Launch date</b>
 
| {{{launch date}}}
 
| {{{launch date}}}
|-
+
|-}}
 +
{{#if:{{{launch site|}}}|
 
| <b>Launch site</b>
 
| <b>Launch site</b>
 
| {{{launch site}}}
 
| {{{launch site}}}
|-
+
|-}}
 +
{{#if:{{{launch coordinates|}}}|
 
| <b>Launch coordinates</b>
 
| <b>Launch coordinates</b>
 
| {{{launch coordinates}}}
 
| {{{launch coordinates}}}
|-
+
|-}}
 +
{{#if:{{{flight duration|}}}|
 
| <b>Flight duration</b>
 
| <b>Flight duration</b>
 
| {{{flight duration}}}
 
| {{{flight duration}}}
|-
+
|-}}
 +
{{#if:{{{landing date|}}}|
 
| <b>Landing date</b>
 
| <b>Landing date</b>
 
| {{{landing date}}}
 
| {{{landing date}}}
|-
+
|-}}
 +
{{#if:{{{landing coordinates|}}}|
 
| <b>Landing coordinates</b>
 
| <b>Landing coordinates</b>
 
| {{{landing coordinates}}}
 
| {{{landing coordinates}}}
|-
+
|-}}
 
!colspan="2"| <table style="width:100%; border:1px; border-collapse:collapse; font-weight:bold; font-size: smaller">
 
!colspan="2"| <table style="width:100%; border:1px; border-collapse:collapse; font-weight:bold; font-size: smaller">
 
<tr>
 
<tr>

Revision as of 04:38, 22 August 2015

Launch dateLaunch siteLaunch coordinatesFlight durationLanding dateLanding coordinates
{{{img link}}}
SSI Balloon Launches


To use, copy the code below into the desired page, populating the fields listed:

{{balloon-launch 
| img link = 
| launch date = 
| launch site = 
| launch coordinates = 
| flight duration = 
| landing date = 
| landing coordinates =
| next =
| last =  
}}

An example of proper usage is shown here:

{{balloon-launch 
| img link = rsz_ssi-22.png
| launch date = May 31 2015, 8.32pm PDT 
| launch site = Laird Park, Modesto, CA 
| launch coordinates = 37.56158, -121.14993 
| flight duration = 24 hrs, 3 minutes 
| landing date = June 1 2015, 8.35pm PDT
| landing coordinates = 49.88690, -104.50746
| last = 21
| next =
}}