Difference between revisions of "Template:Infobox space station module"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(infobox)
Line 1: Line 1:
<includeonly>{| class="infobox" style="font-size:88%; width:22em; text-align:left"
+
<includeonly>{{infobox
|+ colspan=3 | '''{{{module}}}'''
+
| title = {{{module}}}
{{#if: {{{module_image|}}}          |<tr><td colspan="3" style="text-align:center;">[[Image:{{{module_image}}}|{{#if:{{{module_image_size|}}}|{{{module_image_size}}}|240px}}|{{{module_image_caption|}}}]]</td></tr>}}<!--
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{module_image|}}}|size={{{module_image_size|}}}|sizedefault=frameless|upright=1.1
-->{{#if: {{{module_image_caption|}}}|<tr><td colspan="3" style="font-size:90%; line-height:15px; text-align:center;">{{{module_image_caption}}}</td></tr>}}<!--
+
| caption = {{{module_image_caption|}}}
-->
+
 
|-
+
| header1 = Station statistics
! style="text-align:center;" colspan="3" | Station statistics
+
| label2 = [[International Designator|NSSDC ID]]:
{{#if:{{{NSSDC_ID|}}}     |<tr><th>[[International Designator|NSSDC ID]]:</th><td>[http://nssdc.gsfc.nasa.gov/nmc/masterCatalog.do?sc={{{NSSDC_ID|}}} {{{NSSDC_ID|}}}]</td></tr>}}<!--
+
| data2 = {{#if:{{{NSSDC_ID|}}}|[http://nssdc.gsfc.nasa.gov/nmc/masterCatalog.do?sc={{{NSSDC_ID|}}} {{{NSSDC_ID|}}}]}}
-->{{#if:{{{station|}}} |<tr><th>Part of:</th><td>{{{station}}}</td></tr>}}<!--
+
| label3 = Part of:
-->{{#if:{{{launch|}}}    |<tr><th>[[Rocket launch|Launch date]]:</th><td>{{{launch}}}</td></tr>}}<!--
+
| data3 = {{{station|}}}
-->{{#if:{{{launch_vehicle|}}} |<tr><th>[[Launch vehicle]]:</th><td>{{{launch_vehicle}}}</td></tr>}}<!--
+
| label4 = [[Rocket launch|Launch date]]:
-->{{#if:{{{docked|}}} |<tr><th>[[Space rendezvous|Permanently docked]]:</th><td>{{{docked}}}</td></tr>}}<!--
+
| data4 = {{{launch|}}}
-->{{#if:{{{undocked|}}} |<tr><th>Undocked:</th><td>{{{undocked}}}</td></tr>}}<!--
+
| label5 = [[Launch vehicle]]:
-->{{#if:{{{reentry|}}}    |<tr><th>[[Atmospheric reentry|Reentry]]:</th><td>{{{reentry}}}</td></tr>}}<!--
+
| data5 = {{{launch_vehicle|}}}
-->{{#if:{{{mass|}}}      |<tr><th>[[Mass]]:</th><td>{{{mass}}}</td></tr>}}<!--
+
| label6 = [[Space rendezvous|Permanently docked]]:
-->{{#if:{{{length|}}}    |<tr><th>Length:</th><td>{{{length}}}</td></tr>}}<!--
+
| data6 = {{{docked|}}}
-->{{#if:{{{width|}}}      |<tr><th>Width:</th><td>{{{width}}}</td></tr>}}<!--
+
| label7 = Undocked:
-->{{#if:{{{height|}}}    |<tr><th>Height:</th><td>{{{height}}}</td></tr>}}<!--
+
| data7 = {{{undocked|}}}
-->{{#if:{{{diameter|}}}  |<tr><th>Diameter:</th><td>{{{diameter}}}</td></tr>}}<!--
+
| label8 = [[Atmospheric reentry|Reentry]]:
-->{{#if:{{{volume|}}}    |<tr><th>Living [[volume]]:</th><td>{{{volume}}}</td></tr>}}<!--
+
| data8 = {{{reentry|}}}
-->{{#if:{{{stats_ref|}}} |<tr><td style="font-size:90%; line-height:15px; text-align:center;" colspan="3">References: {{{stats_ref}}}</td></tr>}}<!--
+
| label9 = [[Mass]]:
-->{{#if:{{{configuration_image|}}} |
+
| data9 = {{{mass|}}}
  <tr><th style="text-align:center;" colspan="3">Configuration</th></tr>
+
| label10 = Length:
  <tr><td style="text-align:center;" colspan="3">[[Image:{{{configuration_image}}}|{{#if:{{{configuration_size|}}}|{{{configuration_size}}}|240px}}|{{{configuration_caption|}}}]]</td></tr>
+
| data10 = {{{length|}}}
    {{#if: {{{configuration_caption|}}} |
+
| label11 = Width:
      <tr><td colspan="3" style="font-size:90%; line-height:15px; text-align:center;">{{{configuration_caption}}}</td></tr>}}}}
+
| data11 = {{{width|}}}
|}</includeonly><noinclude>
+
| label12 = Height:
{{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! -->
+
| data12 = {{{height|}}}
 +
| label13 = Diameter:
 +
| data13 = {{{diameter|}}}
 +
| label14 = Living [[volume]]:
 +
| data14 = {{{volume|}}}
 +
| data15 = {{#if:{{{stats_ref|}}}|References: {{{stats_ref}}}}}
 +
| header16 = {{#if:{{{configuration_image|}}} |Configuration }}
 +
| data17 = {{#invoke:InfoboxImage|InfoboxImage|image={{{configuration_image|}}}|size={{{configuration_size|}}}|sizedefault=frameless|upright=1.1}}{{#if:{{{configuration_image|}}}|{{#if:{{{configuration_caption|}}}|<div style="text-align:center; width:100%; font-size:smaller;">{{{configuration_caption}}}</div>}}}}
 +
}}</includeonly><noinclude>
 +
{{documentation}} <!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 18:43, 4 September 2013

50px Template documentation[view] [edit] [history] [purge]

Usage

Copy a blank version to use. All fields must be lowercase, and all are optional except for the "module" field.

Vertical list Prerequisites *
{{Infobox space station module
| spelling               = 
| module                 = 
| module_image           = 
| module_image_size      = 
| module_image_caption   = 
| COSPAR_ID              = 
| station                = 
| launch                 = 
| launch_vehicle         =
| docked                 =
| undocked               =
| berthed                =
| unberthed              =
| reentry                = 
| mass                   = 
| length                 = 
| width                  = 
| height                 = 
| diameter               =
| volume                 = 
| stats_ref              = 
| configuration_image    = 
| configuration_size     = 
| configuration_caption  = 
}}
  
  
 REQUIRED
  
 module_image
 module_image
 module_image
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 configuration_image
 configuration_image
 configuration_image
  
* The field listed below is a prerequisite for the field to the left. For example, title is a prerequisite to url meaning url will NOT be displayed even if it has a value unless title also has a value.

Verbiage and example

{{infobox | title = Example Station | image = File:Bad Title Example.png

{{Infobox space station module
| spelling               = us
| module                 = Example Station
| module_image           = Bad Title Example.png
| module_image_size      = 
| module_image_caption   = This is the first example caption.
| COSPAR_ID              = 2000-000A
| station                = EXPL-01
| launch                 = January 1, 2000
| launch_vehicle         = [[Proton rocket]]
| docked                 = January 10, 2000
| undocked               = December 1, 2010
| berthed                = January 10, 2000
| unberthed              = December 1, 2010
| reentry                = December 31, 2010
| mass                   = 200,000.0 kg <br> (440,924.5 lb)
| length                 = 70 m <br> (229.7 ft)
| width                  = 60 m <br> (196.9 ft)
| height                 = 50 m <br> (164.0 ft)
| diameter               = 55 m <br> (180.4 ft)
| volume                 = 600 m³ <br> (21,188.8 ft³)
| stats_ref              = <ref name="first">{{cite web |url=http://www.nasa.gov/ |title=NASA main page |website=NASA.gov}}</ref>
| configuration_image    = Bad Title Example.png
| configuration_size     = 175px
| configuration_caption  = This is the second example caption.
}}

Description of fields

Syntax

Nested fields rely on their parent fields:

  • parent
    • child — may be used with parent (and is ignored if parent is not used)

Description

  • spelling: Spelling used by the infobox. "us" for American spelling, default to "gb" (British spelling).
  • module: Proper name of the module.
  • module_image: Image of the module.
    • module_image_size: Width of the image, expressed as a whole number without "px" at the end. Maximum and default width is "220".
    • module_image_caption: Short descriptive caption of the image.
  • COSPAR_ID: International designator for tracking the module.
  • station: The space station of which the module is part.
  • launch: Date of initial module launch. Should be wikilinked.
  • launch_vehicle: Identity of the launch site that the module was launched from.
  • docked: Date of the module's permanent docking to the station.
  • undocked: Date on which the module separated from the station, e.g. TKS modules on Salyut stations, or Pirs.
  • berthed: Date of the module's permanent berthing to the station, e.g. Tranquility on the ISS.
  • undberthed: Date on which the module was removed from the station.
  • reentry: Date of atmospheric reentry of the module. Should be wikilinked.
  • mass: Current mass of the module.
  • length: Current length of the module.
  • width: Current width of the module.
  • height: Current height of the module.
  • diameter: Current diameter of the station. Only useful if the module is of cylindrical design.
  • volume: Total current habitable volume of the module.
  • stats_ref: Allows for statistics to be referenced. Remember to encapsulate each reference in <ref></ref> tags to keep the appearance clean.
  • configuration_image: Blueprint, schematic, or other image that clearly shows the configuration of the module.
    • configuration_size: Same as "module_image_size".
    • configuration_caption: Short descriptive caption of the image.

References


Template:Spaceflight infoboxes