Difference between revisions of "Template:Rocket-project"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Added more launch slots)
(Gave every rocket infinite launches)
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"{{pipe}}Launch 1 {{#if:{{{launch class 1|}}}| - {{{launch class 1}}} }}
 
{{pipe}}-
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}{{{launch date 1}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 1|}}}|
 
{{pipe}}<b>Launch site</b>
 
{{pipe}}{{{launch site 1}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 2|}}}|
 
!colspan = "2"{{pipe}}Launch 2  {{#if:{{{launch class 2|}}}| - {{{launch class 2}}} }}
 
{{pipe}}-
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}{{{launch date 2}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 2|}}}|
 
{{pipe}}<b>Launch site</b>
 
{{pipe}}{{{launch site 2}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 3|}}}|
 
!colspan = "2"{{pipe}}Launch 3  {{#if:{{{launch class 3|}}}| - {{{launch class 3}}} }}
 
{{pipe}}-
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}{{{launch date 3}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 3|}}}|
 
{{pipe}}<b>Launch site</b>
 
{{pipe}}{{{launch site 3}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 4|}}}|
 
!colspan = "2"{{pipe}}Launch 4  {{#if:{{{launch class 4|}}}| - {{{launch class 4}}} }}
 
{{pipe}}-
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}{{{launch date 4}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 4|}}}|
 
{{pipe}}<b>Launch site</b>
 
{{pipe}}{{{launch site 4}}}
 
{{pipe}}-}}
 
 
 
{{#if:{{{launch date 5|}}}|
 
!colspan = "2"{{pipe}}Launch 5  {{#if:{{{launch class 5|}}}| - {{{launch class 5}}} }}
 
{{pipe}}-
 
{{pipe}}<b>Launch date</b>
 
{{pipe}}{{{launch date 5}}}
 
{{pipe}}-}}
 
{{#if:{{{launch site 5|}}}|
 
{{pipe}}<b>Launch site</b>
 
{{pipe}}{{{launch site 5}}}
 
{{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 77: Line 23:
 
| header =
 
| header =
 
| img link =
 
| img link =
| launch date 1 =
+
| launch details =
| launch class 1 =
 
| launch site 1 =
 
| launch date 2 =
 
| launch class 2 =
 
| launch site 2 =
 
| launch date 3 =
 
| launch class 3 =
 
| launch site 3 =
 
 
| program =
 
| program =
 
| last =
 
| last =
Line 98: Line 36:
 
| header = Pegasus (ARES-2)
 
| header = Pegasus (ARES-2)
 
| img link = File:Pegasus_Flag.png
 
| img link = File:Pegasus_Flag.png
| launch date 1 = February 6, 2016
+
| launch details =
| launch class 1 = L1
+
 
| launch site 1 = LUNAR
+
{{rocket-launch
| launch date 2 = Pending
+
|number=1
| launch class 2 = L2
+
|launch class = L1
| launch site 2 = Pending
+
|launch date = February 6, 2016
| launch date 3 = Pending
+
|launch site = LUNAR
| launch class 3 = L3
+
|next={{rocket-launch
| launch site 3 = Pending
+
|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
 
| program = Project Daedalus
 
| last = Talos
 
| last = Talos

Revision as of 11:01, 26 January 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
}}