Difference between revisions of "Template:Balloon-launch"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Made use of Template:pipe)
(Reverted to previously nonfunctional version, replacing <nowiki>|</nowiki> with {{pipe}})
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
 
 
{| class="wikitable" style="float:right; margin-left: 10px;"
 
{| class="wikitable" style="float:right; margin-left: 10px;"
 
!colspan="2"| {{{img link}}}
 
!colspan="2"| {{{img link}}}
 
|-
 
|-
| <b>Launch date</b>
+
{{#if:{{{launch date|}}}|
| {{{launch date}}}
+
{{pipe}}<b>Launch date</b>
|-
+
{{pipe}}{{{launch date}}}
| <b>Launch site</b>
+
{{pipe}}-}}
| {{{launch site}}}
+
{{#if:{{{launch site|}}}|
|-
+
{{pipe}}<b>Launch site</b>
| <b>Launch coordinates</b>
+
{{pipe}}{{{launch site}}}
| {{{launch coordinates}}}
+
{{pipe}}-}}
|-
+
{{#if:{{{launch coordinates|}}}|
| <b>Flight duration</b>
+
{{pipe}}<b>Launch coordinates</b>
| {{{flight duration}}}
+
{{pipe}}{{{launch coordinates}}}
|-
+
{{pipe}}-}}
| <b>Landing date</b>
+
{{#if:{{{flight duration|}}}|
| {{{landing date}}}
+
{{pipe}}<b>Flight duration</b>
|-
+
{{pipe}}{{{flight duration}}}
 +
{{pipe}}-}}
 +
{{#if:{{{landing date|}}}|
 +
{{pipe}}<b>Landing date</b>
 +
{{pipe}}{{{landing date}}}
 +
{{pipe}}-}}
 
{{#if:{{{landing coordinates|}}}|
 
{{#if:{{{landing coordinates|}}}|
 
{{pipe}}<b>Landing coordinates</b>
 
{{pipe}}<b>Landing coordinates</b>
{{pipe}}{{{landing coordinates}}}  
+
{{pipe}}{{{landing coordinates}}}
 
{{pipe}}-}}
 
{{pipe}}-}}
 
!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">
Line 43: Line 47:
 
| landing date =  
 
| landing date =  
 
| landing coordinates =
 
| landing coordinates =
| next =
+
| last =
| last =
+
| next =  
 
}}
 
}}
 
</nowiki>
 
</nowiki>

Revision as of 05:44, 22 August 2015

{{{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 =
| last =
| next = 
}}

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