Jump to content

Template:Star Data: Difference between revisions

From Starship Simulator
m Updated
m Updated reset default collapsed state
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable {{{collapsed|wikitable mw-collapsible mw-collapsed}}}" style="float:{{{float|right}}}; margin-left:1em; width:{{{width|300px}}}; font-size:{{{font_size|90%}}};"  
{| class="wikitable {{{collapsed|}}}" style="float:{{{float|right}}}; margin-left:1em; width:{{{width|300px}}}; font-size:{{{font_size|90%}}};"  
! colspan="2" | '''{{{title|}}}'''
! colspan="2" | '''{{{title|}}}'''
|-
|-
Line 5: Line 5:
|-
|-
! scope="row" | Common Name
! scope="row" | Common Name
| {{{common_name|Unknown}}}
| {{{Common Name|Unknown}}}
|-
|-
! scope="row" | System
! scope="row" | System
| {{{system_name|Unknown}}}
| {{{System|Unknown}}}
|-
|-
! scope="row" | Location (Galactic Coordinates)
! scope="row" | Location (Galactic Coordinates)
| {{{location|Unknown}}}
| {{{Location|Unknown}}}
|-
|-
! scope="row" | Object Class
! scope="row" | Object Class
| {{{object_class|Unknown}}}
| {{{Object Class|Unknown}}}
|-
|-
! scope="row" | [[Star types|Spectral Class]]
! scope="row" | [[Spectral Class]]
| {{{spectral_class|Unknown}}}
| {{{Spectral Class|Unknown}}}
|-
|-
! scope="row" | Temperature (Surface)
! scope="row" | Temperature (Surface)
| {{{temp|Unknown}}}
| {{{Temperature|Unknown}}}
|-
|-
! scope="row" | Mass
! scope="row" | Mass
| {{{mass|Unknown}}}
| {{{Mass|Unknown}}}
|-
|-
! scope="row" | Radius
! scope="row" | Radius
| {{{radius|Unknown}}}
| {{{Radius|Unknown}}}
|-
|-
! scope="row" | Luminosity
! scope="row" | Luminosity
| {{{luminosity|Unknown}}}
| {{{Luminosity|Unknown}}}
|-
|-
! scope="row" | [[Habitable Zone]]
! scope="row" | [[Habitable Zone]]
| {{{hab_zone|Unknown}}}
| {{{Habitable Zone|Unknown}}}
|-
|-
! scope="row" | Planets
! scope="row" | Planets
| {{{planets|Unknown}}}
| {{{Planets|Unknown}}}
|-
|-
! scope="row" | Roche Limit
! scope="row" | Roche Limit
| {{{roche_limit|Unknown}}}
| {{{Roche Limit|Unknown}}}
|-
|-
! scope="row" | Hill Radius
! scope="row" | Hill Radius
| {{{hill_radius|Unknown}}}
| {{{Hill Radius|Unknown}}}
|-
|-
! scope="row" | 2000K Dust Sublimation
! scope="row" | 2000K Dust Sublimation
| {{{dust_sublimation|Unknown}}}
| {{{Dust Sublimation|Unknown}}}
|-
|-
! scope="row" | 1200K Lava Line
! scope="row" | 1200K Lava Line
| {{{lava_line|Unknown}}}
| {{{Lava Line|Unknown}}}
|-
|-
! scope="row" | 320K Habitable Zone Start
! scope="row" | 320K Habitable Zone Start
| {{{hab_start|Unknown}}}
| {{{Habitable Zone Start|Unknown}}}
|-
|-
! scope="row" | 230K Habitable Zone End
! scope="row" | 230K Habitable Zone End
| {{{hab_end|Unknown}}}
| {{{Habitable Zone End|Unknown}}}
|-
|-
! scope="row" | 150K Frost Line
! scope="row" | 150K Frost Line
| {{{frost_line|Unknown}}}
| {{{Frost Line|Unknown}}}
|}
|}
<noinclude>
<noinclude>
This template is used to display standardized data tables for individual stars.
For other celestial objects (planets, comets, etc.), separate templates may be used.
=== Usage ===
* '''For floating infoboxes (like on individual star pages):'''
<nowiki>{{Star_Data</nowiki>
<nowiki>| title = [[Star Name]]</nowiki> (Required: The name of the object, often linked to its page)
<nowiki>| Common Name = Common Name (e.g., The Sun)</nowiki> (Optional)
<nowiki>| System = [[System Name]]</nowiki> (Optional: The system it belongs to)
<nowiki>| Location = X, Y, Z</nowiki> (Optional: Galactic Coordinates)
<nowiki>| Object Class = Object type for non-stars (e.g., Supermassive Black Hole)</nowiki> (Optional: Use for objects like Sgr A* instead of Spectral Class)
<nowiki>| Spectral Class = [[Star types|Spectral Class]]</nowiki> (Optional: For stars)
<nowiki>| Temperature = Temperature (e.g., ~5,778 K)</nowiki> (Optional: Surface Temperature)
<nowiki>| Mass = Mass (e.g., 1 M☉)</nowiki> (Optional)
<nowiki>| Radius = Radius (e.g., 1 R☉)</nowiki> (Optional)
<nowiki>| Luminosity = Luminosity (e.g., 1 L☉)</nowiki> (Optional)
<nowiki>| Habitable Zone = Habitable Zone range (e.g., ~0.63 AU – ~1.23 AU)</nowiki> (Optional)
<nowiki>| Planets = Number or description of planets (e.g., 8 (plus Dwarf Planets))</nowiki> (Optional)
<nowiki>| Roche Limit = Roche Limit (e.g., 1,077,467 KM)</nowiki> (Optional)
<nowiki>| Hill Radius = Hill Radius (e.g., 3.62 LY)</nowiki> (Optional)
<nowiki>| Dust Sublimation = 2000K Dust Sublimation (e.g., 2,726,012 KM)</nowiki> (Optional)
<nowiki>| Lava Line = 1200K Lava Line (e.g., 7,272,256 KM)</nowiki> (Optional)
<nowiki>| Habitable Zone Start = 320K Habitable Zone Start (e.g., 0.63 AU)</nowiki> (Optional)
<nowiki>| Habitable Zone End = 230K Habitable Zone End (e.g., 1.23 AU)</nowiki> (Optional)
<nowiki>| Frost Line = 150K Frost Line (e.g., 2.89 AU)</nowiki> (Optional)
<nowiki>| caption_suffix = (Any additional text for 'Stellar Data' caption, e.g., Approx. / Reference - Sirius A)</nowiki> (Optional)
<nowiki>}}</nowiki>
* '''For full-width, collapsible tables (like on the Locations page):'''
Add the following parameters to the above:
<nowiki>| collapsed = mw-collapsible mw-collapsed</nowiki>
<nowiki>| float = none</nowiki>
<nowiki>| width = 100%</nowiki>
<nowiki>| font_size = 100%</nowiki> (or adjust as needed)
All parameters are optional. If a parameter is not provided, its row will not appear in the table.
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 17:08, 5 July 2025

'
Stellar Data
Common Name Unknown
System Unknown
Location (Galactic Coordinates) Unknown
Object Class Unknown
Spectral Class Unknown
Temperature (Surface) Unknown
Mass Unknown
Radius Unknown
Luminosity Unknown
Habitable Zone Unknown
Planets Unknown
Roche Limit Unknown
Hill Radius Unknown
2000K Dust Sublimation Unknown
1200K Lava Line Unknown
320K Habitable Zone Start Unknown
230K Habitable Zone End Unknown
150K Frost Line Unknown


This template is used to display standardized data tables for individual stars. For other celestial objects (planets, comets, etc.), separate templates may be used.

Usage

  • For floating infoboxes (like on individual star pages):
{{Star_Data
| title = [[Star Name]] (Required: The name of the object, often linked to its page)
| Common Name = Common Name (e.g., The Sun) (Optional)
| System = [[System Name]] (Optional: The system it belongs to)
| Location = X, Y, Z (Optional: Galactic Coordinates)
| Object Class = Object type for non-stars (e.g., Supermassive Black Hole) (Optional: Use for objects like Sgr A* instead of Spectral Class)
| Spectral Class = [[Star types|Spectral Class]] (Optional: For stars)
| Temperature = Temperature (e.g., ~5,778 K) (Optional: Surface Temperature)
| Mass = Mass (e.g., 1 M☉) (Optional)
| Radius = Radius (e.g., 1 R☉) (Optional)
| Luminosity = Luminosity (e.g., 1 L☉) (Optional)
| Habitable Zone = Habitable Zone range (e.g., ~0.63 AU – ~1.23 AU) (Optional)
| Planets = Number or description of planets (e.g., 8 (plus Dwarf Planets)) (Optional)
| Roche Limit = Roche Limit (e.g., 1,077,467 KM) (Optional)
| Hill Radius = Hill Radius (e.g., 3.62 LY) (Optional)
| Dust Sublimation = 2000K Dust Sublimation (e.g., 2,726,012 KM) (Optional)
| Lava Line = 1200K Lava Line (e.g., 7,272,256 KM) (Optional)
| Habitable Zone Start = 320K Habitable Zone Start (e.g., 0.63 AU) (Optional)
| Habitable Zone End = 230K Habitable Zone End (e.g., 1.23 AU) (Optional)
| Frost Line = 150K Frost Line (e.g., 2.89 AU) (Optional)
| caption_suffix = (Any additional text for 'Stellar Data' caption, e.g., Approx. / Reference - Sirius A) (Optional)
}} 
  • For full-width, collapsible tables (like on the Locations page):

Add the following parameters to the above:

| collapsed = mw-collapsible mw-collapsed
| float = none
| width = 100%
| font_size = 100% (or adjust as needed)

All parameters are optional. If a parameter is not provided, its row will not appear in the table.