Difference between revisions of "Template:Balloon-launch"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Testing conditionality on a single field)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{| class="wikitable" style="float:right; margin-left: 10px;"
+
{| class="wikitable" style="float:right; margin-left: 10px; clear:both;"
!colspan="2"| {{{img link}}}
+
!colspan="2"{{pipe}} '''{{{header}}}'''
|-
+
{{pipe}}-
| <b>Launch date</b>
+
{{#if:{{{img link|}}}|
| {{{launch date}}}
+
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
|-
+
{{pipe}}-}}
| <b>Launch site</b>
+
{{#if:{{{designations|}}}|
| {{{launch site}}}
+
{{pipe}}<b>Designations</b>
|-
+
{{pipe}}{{{designations}}}
| <b>Launch coordinates</b>
+
{{pipe}}-}}
| {{{launch coordinates}}}
+
{{#if:{{{launch date|}}}|
|-
+
{{pipe}}<b>Launch date</b>
| <b>Flight duration</b>
+
{{pipe}}{{{launch date}}}
| {{{flight duration}}}
+
{{pipe}}-}}
|-
+
{{#if:{{{launch site|}}}|
| <b>Landing date</b>
+
{{pipe}}<b>Launch site</b>
| {{{landing date}}}
+
{{pipe}}{{{launch site}}}
|-
+
{{pipe}}-}}
| <b>Landing coordinates</b>
+
{{#if:{{{launch coordinates|}}}|
| {{#if:{{{landing coordinates|}}}|{{{landing coordinates}}} }}
+
{{pipe}}<b>Launch coordinates</b>
|-
+
{{pipe}}{{{launch coordinates}}}
 +
{{pipe}}-}}
 +
{{#if:{{{flight duration|}}}|
 +
{{pipe}}<b>Flight duration</b>
 +
{{pipe}}{{{flight duration}}}
 +
{{pipe}}-}}
 +
{{#if:{{{flight length|}}}|
 +
{{pipe}}<b>Flight length</b>
 +
{{pipe}}{{{flight length}}}
 +
{{pipe}}-}}
 +
{{#if:{{{flight profile|}}}|
 +
{{pipe}}<b>Flight profile</b>
 +
{{pipe}}{{{flight profile}}}
 +
{{pipe}}-}}
 +
{{#if:{{{last contact|}}}|
 +
{{pipe}}<b>Last contact</b>
 +
{{pipe}}{{{last contact}}}
 +
{{pipe}}-}}
 +
{{#if:{{{last location|}}}|
 +
{{pipe}}<b>Last location</b>
 +
{{pipe}}{{{last location}}}
 +
{{pipe}}-}}
 +
{{#if:{{{last coordinates|}}}|
 +
{{pipe}}<b>Last coordinates</b>
 +
{{pipe}}{{{last coordinates}}}
 +
{{pipe}}-}}
 +
{{#if:{{{landing time|}}}|
 +
{{pipe}}<b>Landing time</b>
 +
{{pipe}}{{{landing time}}}
 +
{{pipe}}-}}
 +
{{#if:{{{landing site|}}}|
 +
{{pipe}}<b>Landing site</b>
 +
{{pipe}}{{{landing site}}}
 +
{{pipe}}-}}
 +
{{#if:{{{landing coordinates|}}}|
 +
{{pipe}}<b>Landing coordinates</b>
 +
{{pipe}}{{{landing coordinates}}}
 +
{{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">
 
<tr>
 
<tr>
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | &larr;[[SSI-{{{last}}}]]}}
+
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | [[SSI-{{{last}}}{{pipe}}&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%">{{#if:{{{next|}}} | [[SSI-{{{next}}}]]&rarr;}}
+
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[SSI-{{{next}}}{{pipe}}SSI-{{{next}}}&rarr;]]}}
 
</table>
 
</table>
 
|}
 
|}
Line 34: Line 71:
 
  <nowiki>
 
  <nowiki>
 
{{balloon-launch  
 
{{balloon-launch  
 +
| header =
 
| img link =  
 
| img link =  
 
| launch date =  
 
| launch date =  
Line 41: Line 79:
 
| landing date =  
 
| landing date =  
 
| landing coordinates =
 
| landing coordinates =
| next =
+
| last =
| last =
+
| next =  
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 50: Line 88:
 
  <nowiki>
 
  <nowiki>
 
{{balloon-launch  
 
{{balloon-launch  
| img link = rsz_ssi-22.png
+
| header = SSI-22
 +
| img link = File:rsz_ssi-22.png  
 
| launch date = May 31 2015, 8.32pm PDT  
 
| launch date = May 31 2015, 8.32pm PDT  
 
| launch site = Laird Park, Modesto, CA  
 
| launch site = Laird Park, Modesto, CA  

Latest revision as of 02:22, 24 July 2019

{{{header}}}
SSI Balloon Launches


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

{{balloon-launch 
| header = 
| 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 
| header = SSI-22
| img link = File: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 =
}}