Difference between revisions of "Template:Balloon-launch"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Reformatted image link parameter and updated example accordingly)
 
(13 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}}} | 200px]
+
!colspan="2"{{pipe}} '''{{{header}}}'''
|-
+
{{pipe}}-
 +
{{#if:{{{img link|}}}|
 +
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
 +
{{pipe}}-}}
 +
{{#if:{{{designations|}}}|
 +
{{pipe}}<b>Designations</b>
 +
{{pipe}}{{{designations}}}
 +
{{pipe}}-}}
 
{{#if:{{{launch date|}}}|
 
{{#if:{{{launch date|}}}|
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}<b>Launch date</b>
Line 19: Line 26:
 
{{pipe}}{{{flight duration}}}
 
{{pipe}}{{{flight duration}}}
 
{{pipe}}-}}
 
{{pipe}}-}}
{{#if:{{{landing date|}}}|
+
{{#if:{{{flight length|}}}|
{{pipe}}<b>Landing date</b>
+
{{pipe}}<b>Flight length</b>
{{pipe}}{{{landing date}}}
+
{{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}}-}}
 
{{pipe}}-}}
 
{{#if:{{{landing coordinates|}}}|
 
{{#if:{{{landing coordinates|}}}|
Line 29: Line 60:
 
!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 40: Line 71:
 
  <nowiki>
 
  <nowiki>
 
{{balloon-launch  
 
{{balloon-launch  
 +
| header =
 
| img link =  
 
| img link =  
 
| launch date =  
 
| launch date =  
Line 56: Line 88:
 
  <nowiki>
 
  <nowiki>
 
{{balloon-launch  
 
{{balloon-launch  
 +
| header = SSI-22
 
| img link = File:rsz_ssi-22.png  
 
| img link = File:rsz_ssi-22.png  
 
| launch date = May 31 2015, 8.32pm PDT  
 
| launch date = May 31 2015, 8.32pm PDT  

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