Difference between revisions of "Template:Balloon-launch"
Jump to navigation
Jump to search
Smaldonado (talk | contribs) (Made all fields conditional) |
Smaldonado (talk | contribs) (Test fix to keep table fields parametrized) |
||
| Line 4: | Line 4: | ||
|- | |- | ||
{{#if:{{{launch date|}}}| | {{#if:{{{launch date|}}}| | ||
| − | | <b>Launch date</b> | + | <nowiki>|</nowiki> <b>Launch date</b> |
| − | | {{{launch date}}} | + | <nowiki>|</nowiki> {{{launch date}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
{{#if:{{{launch site|}}}| | {{#if:{{{launch site|}}}| | ||
| − | | <b>Launch site</b> | + | <nowiki>|</nowiki> <b>Launch site</b> |
| − | | {{{launch site}}} | + | <nowiki>|</nowiki> {{{launch site}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
{{#if:{{{launch coordinates|}}}| | {{#if:{{{launch coordinates|}}}| | ||
| − | | <b>Launch coordinates</b> | + | <nowiki>|</nowiki> <b>Launch coordinates</b> |
| − | | {{{launch coordinates}}} | + | <nowiki>|</nowiki> {{{launch coordinates}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
{{#if:{{{flight duration|}}}| | {{#if:{{{flight duration|}}}| | ||
| − | | <b>Flight duration</b> | + | <nowiki>|</nowiki> <b>Flight duration</b> |
| − | | {{{flight duration}}} | + | <nowiki>|</nowiki> {{{flight duration}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
{{#if:{{{landing date|}}}| | {{#if:{{{landing date|}}}| | ||
| − | | <b>Landing date</b> | + | <nowiki>|</nowiki> <b>Landing date</b> |
| − | | {{{landing date}}} | + | <nowiki>|</nowiki> {{{landing date}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
{{#if:{{{landing coordinates|}}}| | {{#if:{{{landing coordinates|}}}| | ||
| − | | <b>Landing coordinates</b> | + | <nowiki>|</nowiki> <b>Landing coordinates</b> |
| − | | {{{landing coordinates}}} | + | <nowiki>|</nowiki> {{{landing coordinates}}} |
| − | |-}} | + | <nowiki>|</nowiki>-}} |
!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> | ||
| Line 47: | Line 47: | ||
| landing date = | | landing date = | ||
| landing coordinates = | | landing coordinates = | ||
| − | | | + | | last = |
| − | | | + | | next = |
}} | }} | ||
</nowiki> | </nowiki> | ||
Revision as of 04:50, 22 August 2015
| {{{img link}}} | ||||
|---|---|---|---|---|
| ||||
To use, copy the code below into the desired page, populating the fields listed:
{{balloon-launch
| 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
| img link = 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 =
}}