Difference between revisions of "Template:Rocket-project"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Probably broke something even worse)
m (Fixed floating)
 
(5 intermediate revisions by the same user 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"{{pipe}} '''{{{header}}}'''
 
!colspan="2"{{pipe}} '''{{{header}}}'''
 
{{pipe}}-
 
{{pipe}}-
Line 6: Line 6:
 
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
 
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
 
{{pipe}}-}}
 
{{pipe}}-}}
 
+
{{#if:{{{launch details|}}}|{{{launch details}}}}}
{{#if:{{{launch date 1|}}}|
 
!colspan = "2"|Launch 1
 
 
 
{{pipe}}<b>Launch date {{#if:{{{launch class 1|}}}| - {{{launch class 1}}} }}</b>
 
{{pipe}}{{{launch date 1}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 1|}}}|
 
{{pipe}}<b>Launch site {{#if:{{{launch class 1|}}}| - {{{launch class 1}}} }}</b>
 
{{pipe}}{{{launch site 1}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 2|}}}|
 
!colspan = "2"|Launch 2
 
 
 
{{pipe}}<b>Launch date {{#if:{{{launch class 2|}}}| - {{{launch class 2}}} }}</b>
 
{{pipe}}{{{launch date 2}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 2|}}}|
 
{{pipe}}<b>Launch site {{#if:{{{launch class 2|}}}| - {{{launch class 2}}} }}</b>
 
{{pipe}}{{{launch site 2}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 3|}}}|
 
!colspan = "2"|Launch 3
 
 
 
{{pipe}}<b>Launch date {{#if:{{{launch class 3|}}}| - {{{launch class 3}}} }}</b>
 
{{pipe}}{{{launch date 3}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 3|}}}|
 
{{pipe}}<b>Launch site {{#if:{{{launch class 3|}}}| - {{{launch class 3}}} }}</b>
 
{{pipe}}{{{launch site 3}}}
 
{{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 52: Line 20:
  
 
  <nowiki>
 
  <nowiki>
{{rocket-program
+
{{rocket-project
| header =  
+
| header =
| img link =  
+
| img link =
| launch date =  
+
| launch details =
| launch site =
+
| program =
| launch coordinates =
 
| flight duration =
 
| landing date =
 
| landing coordinates =
 
 
| last =
 
| last =
| next =  
+
| next =
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 69: Line 33:
  
 
  <nowiki>
 
  <nowiki>
{{balloon-launch
+
{{rocket-project
| header = SSI-22
+
| header = Pegasus (ARES-2)
| img link = File:rsz_ssi-22.png  
+
| img link = File:Pegasus_Flag.png
| launch date = May 31 2015, 8.32pm PDT
+
| launch details =
| launch site = Laird Park, Modesto, CA
+
 
| launch coordinates = 37.56158, -121.14993
+
{{rocket-launch
| flight duration = 24 hrs, 3 minutes
+
|number=1
| landing date = June 1 2015, 8.35pm PDT
+
|launch class = L1
| landing coordinates = 49.88690, -104.50746
+
|launch date = February 6, 2016
| last = 21
+
|launch site = LUNAR
| next =
+
|next={{rocket-launch
 +
|number=2
 +
|launch class = L2
 +
|launch date = Pending
 +
|launch site = Pending
 +
|next={{rocket-launch
 +
|number=3
 +
|launch class = L3
 +
|launch date = Pending
 +
|launch site = Pending
 +
}}
 +
}}
 +
}}
 +
 
 +
| program = Project Daedalus
 +
| last = Talos
 +
| next = Charybdis
 
}}
 
}}
 
</nowiki>
 
</nowiki>
  
 
[[Category: Templates]]
 
[[Category: Templates]]

Latest revision as of 22:20, 17 March 2016

{{{header}}}
SSI Rockets


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

{{rocket-project
| header =
| img link =
| launch details =
| program =
| last =
| next =
}}

An example of proper usage is shown here:

{{rocket-project
| header = Pegasus (ARES-2)
| img link = File:Pegasus_Flag.png
| launch details = 

{{rocket-launch
|number=1
|launch class = L1
|launch date = February 6, 2016
|launch site = LUNAR
|next={{rocket-launch
|number=2
|launch class = L2
|launch date = Pending
|launch site = Pending
|next={{rocket-launch
|number=3
|launch class = L3
|launch date = Pending
|launch site = Pending
}}
}}
}}

| program = Project Daedalus
| last = Talos
| next = Charybdis
}}