Jump to content

Template:Rocket-project: Difference between revisions

From Stanford SSI Wiki
Smaldonado (talk | contribs)
First iteration of an experiment
 
Smaldonado (talk | contribs)
Moved launch class designation, added additional launches and program field
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 date 1|}}}|
{{#if:{{{launch date 1|}}}|
{{pipe}}<b>Launch date</b>
{{pipe}}<b>Launch date {{#if:{{{launch class 1|}}}| - {{{launch class 1}}} }}</b>
{{pipe}}{{{launch date 1}}} {{#if:{{{launch class 1|}}}| -{{{launch class 1}}} }}
{{pipe}}{{{launch date 1}}}
{{pipe}}-}}
{{pipe}}-}}
{{#if:{{{launch site 1|}}}|
{{#if:{{{launch site 1|}}}|
Line 14: Line 15:
{{pipe}}{{{launch site 1}}}
{{pipe}}{{{launch site 1}}}
{{pipe}}-}}
{{pipe}}-}}
{{#if:{{{launch date 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</b>
{{pipe}}{{{launch site 2}}}
{{pipe}}-}}
{{#if:{{{launch date 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</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">
<tr>
<tr>
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | [[SSI-{{{last}}}{{pipe}}&larr;SSI-{{{last}}}]]}}
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | [[{{{last}}}{{pipe}}&larr;{{{last}}}]]}}
<td style="text-align:center;width:50%">[[:Category:Rockets | SSI Rockets]]</td>
<td style="text-align:center;width:50%">{{#if:{{{program|}}} | [[{{{program}}}]] | [[:Category:Rockets | SSI Rockets]] }}</td>
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[SSI-{{{next}}}{{pipe}}SSI-{{{next}}}&rarr;]]}}
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[{{{next}}}{{pipe}}{{{next}}}&rarr;]]}}
</table>
</table>
|}
|}

Revision as of 01:39, 24 January 2016

{{{header}}}
SSI Rockets


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

{{rocket-program
| 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 =
}}