Difference between revisions of "Template:Balloon-launch"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Added series functions)
(Attempting to add conditional features to series functions)
Line 23: Line 23:
 
!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>
<td style="text-align:center;width:25%">&larr;[[SSI-{{{last}}}]]
+
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | &larr;[[SSI-{{{last}}}]]}}
 
<td style="text-align:center;width:50%">[[:Category:High Altitude Balloons | SSI Balloon Launches]]</td>
 
<td style="text-align:center;width:50%">[[:Category:High Altitude Balloons | SSI Balloon Launches]]</td>
<td style="text-align:center;width:25%">[[SSI-{{{next}}}]]&rarr;
+
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[SSI-{{{next}}}]]&rarr;}}
 
</table>
 
</table>
 
|}
 
|}

Revision as of 02:48, 22 August 2015

{{{img link}}}
Launch date {{{launch date}}}
Launch site {{{launch site}}}
Launch coordinates {{{launch coordinates}}}
Flight duration {{{flight duration}}}
Landing date {{{landing date}}}
Landing coordinates {{{landing coordinates}}}
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 =
}}