Jump to content

Template:Infobox Spacecraft: Difference between revisions

From IdeaWazaWiki
wikademia>Ravedave
changed launched by to Creator
wikademia>Ligulem
qif → #if: (see m:ParserFunctions) using AWB
Line 2: Line 2:
|-
|-
! bgcolor=#e7dcc3 colspan=2 | {{{Name}}}
! bgcolor=#e7dcc3 colspan=2 | {{{Name}}}
{{qif|test={{{Photo|}}}|then=<tr><td style="border-top:1px solid #999966; text-align: center;" colspan=2>[[Image:{{{Photo}}}|300px]]<br />{{{Caption|}}}</td></tr>}}
{{#if:{{{Photo|}}}|<tr><td style="border-top:1px solid #999966; text-align: center;" colspan=2>[[Image:{{{Photo}}}|300px]]<br />{{{Caption|}}}</td></tr>}}
|-  
|-  
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | Creator:
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | Creator:
| style="border-top: 1px solid #999966; width: 220px" | {{{Creator}}}
| style="border-top: 1px solid #999966; width: 220px" | {{{Creator}}}
{{qif|test={{{Location|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Location:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Location|}}}</td></tr>}}<!--
{{#if:{{{Location|}}}|<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Location:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Location|}}}</td></tr>}}<!--
-->{{qif|test={{{LaunchDate|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Launch Date:</td><td style="border-top: 1px solid #999966; width: 220px">{{{LaunchDate|}}}</td></tr>}}<!--
-->{{#if:{{{LaunchDate|}}}|<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Launch Date:</td><td style="border-top: 1px solid #999966; width: 220px">{{{LaunchDate|}}}</td></tr>}}<!--
-->
-->
|}<noinclude>
|}<noinclude>
Line 22: Line 22:


[[Category:Infobox templates|Spacecraft]]
[[Category:Infobox templates|Spacecraft]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 17:07, 22 April 2006

{{{Name}}}
Creator: {{{Creator}}}

Usage

{{Infobox Spacecraft
| Name = 
| Photo = 
| Caption = 
| Location = 
| Creator= 
| LaunchDate = 
}}