Template:Planet Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;"
{| class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .2em; -webkit-border-radius: .2em;display:inline-table!important;"
|-
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color: #4a668d; color: #ffffff; font-size:120%; padding:0.5em;" | {{{name|{{PAGENAME}}}}}
|-
|-
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }}
! colspan="2" |{{#if:{{{Image|}}}|[[File:{{{Image}}}|100px]] }}
|-
|-
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em;" | Information
! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information
|-
{{#if: {{{Alt Name|}}}|
{{!}} '''Alt Name'''
{{!}} [[{{{Alt Name|}}}]] }}
|-
|-
{{#if: {{{Star|}}}|
{{#if: {{{Star|}}}|
Line 43: Line 47:
{{!}} [[{{{Gravity|}}}]] }}
{{!}} [[{{{Gravity|}}}]] }}
|-
|-
{{#if: {{{Temperature Type|}}}|
{{#if: {{{Temperature-type|}}}|
{{!}} '''Temperature'''
{{!}} '''Temperature'''
{{!}} [[{{{Temperature Type|}}}]] }}
{{!}} [[{{{Temperature-type|}}}]] }}
|-
|-
{{#if: {{{Atmosphere|}}}|
{{#if: {{{Atmosphere|}}}|
Line 59: Line 63:
{{!}} {{{Fauna|}}} }}
{{!}} {{{Fauna|}}} }}
|-
|-
{{#if: {{{Fauna Number|}}}|
{{#if: {{{Fauna-number|}}}|
{{!}} '''Fauna #'''
{{!}} '''Fauna #'''
{{!}} {{{Fauna Number|}}} }}
{{!}} {{{Fauna-number|}}} }}
|-
|-
{{#if: {{{Flora|}}}|
{{#if: {{{Flora|}}}|
Line 67: Line 71:
{{!}} {{{Flora|}}} }}
{{!}} {{{Flora|}}} }}
|-
|-
{{#if: {{{Flora Number|}}}|
{{#if: {{{Flora-number|}}}|
{{!}} '''Flora #'''
{{!}} '''Flora #'''
{{!}} {{{Flora Number|}}} }}
{{!}} {{{Flora-number|}}} }}
|-
|-
{{#if: {{{Water|}}}|
{{#if: {{{Water|}}}|
Line 78: Line 82:
{{!}} '''Resources'''
{{!}} '''Resources'''
{{!}} {{#arraymap:{{{Resources|}}}|,|x|[[Resources::x]]}} }}
{{!}} {{#arraymap:{{{Resources|}}}|,|x|[[Resources::x]]}} }}
|-
{{#if: {{{Resources-number|}}}|
{{!}} '''Resources #'''
{{!}} {{{Resources-number|}}} }}
|-
|-
{{#if: {{{Traits|}}}|
{{#if: {{{Traits|}}}|
{{!}} '''Traits'''
{{!}} '''Traits'''
{{!}} {{{Traits|}}} }}
{{!}} {{#arraymap:{{{Traits|}}}|,|x|[[Traits::x]]}} }}
|-
{{#if: {{{Traits-number|}}}|
{{!}} '''Traits #'''
{{!}} {{{Traits-number|}}} }}
|-
|-
{{#if: {{{Description|}}}|
{{#if: {{{Description|}}}|
{{!}} '''Description'''
{{!}} '''Description'''
{{!}} {{{Description|}}} }}
{{!}} {{{Description|}}} }}
|-
{{#if: {{{Points of Interest|}}}|
{{!}} '''Points of Interest'''
{{!}} {{#arraymap:{{{Points of Interest|}}}|,|x|[[Points of Interest::x]]}} }}
|-
{{#if: {{{Exists IRL|}}}|
{{!}} '''Exists IRL'''
{{!}} {{{Exists IRL|}}} }}
|-
|-
{{#if: {{{Patch|}}}|
{{#if: {{{Patch|}}}|
Line 92: Line 112:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}}''' is a [[Planet]] in the [[{{{System|}}}]] [[system]]. [[Category:Planets and Moons|{{PAGENAME}}]] {{#if:{{{Planet|}}}|[[Category:Planets|{{PAGENAME}}]] }} {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Star={{{Star|}}} }} {{#set:System={{{System|}}} }} {{#set:Planet={{{Planet|}}} }} {{#set:Moons={{{Moons|}}} |+sep}} {{#set:Moon={{{Moon|}}} }} {{#set:Moon of={{{Moon of|}}} }} {{#set:Barren={{{Barren|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Gravity={{{Gravity|}}} }} {{#set:Temperature Type={{{Temperature Type|}}} }} {{#set:Atmosphere={{{Atmosphere|}}} }} {{#set:Magnetosphere={{{Magnetosphere|}}} }} {{#set:Fauna={{{Fauna|}}} }} {{#set:Fauna Number={{{Fauna Number|}}} }} {{#set:Flora={{{Flora|}}} }} {{#set:Flora Number={{{Flora Number|}}} }} {{#set:Water={{{Water|}}} }} {{#set:Resources={{{Resources|}}} |+sep}} {{#set:Traits={{{Traits|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}}''' is a {{#if:{{{Planet|}}}|[[Planet]]}}{{#if:{{{Moon|}}}|[[Moon]] of the [[planet]] [[{{{Moon of|}}}]]}} in the [[{{{System|}}}]] [[system]]. [[Category:Planets and Moons|{{PAGENAME}}]] {{#if:{{{Planet|}}}|[[Category:Planets|{{PAGENAME}}]] }} {{#if:{{{Moon|}}}|[[Category:Moons|{{PAGENAME}}]] }}{{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Alt Name={{{Alt Name|}}} }} {{#set:Star={{{Star|}}} }} {{#set:System={{{System|}}} }} {{#set:Planet={{{Planet|}}} }} {{#set:Moons={{{Moons|}}} |+sep}} {{#set:Moon={{{Moon|}}} }} {{#set:Moon of={{{Moon of|}}} }} {{#set:Barren={{{Barren|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Gravity={{{Gravity|}}} }} {{#set:Temperature-type={{{Temperature-type|}}} }} {{#set:Atmosphere={{{Atmosphere|}}} }} {{#set:Magnetosphere={{{Magnetosphere|}}} }} {{#set:Fauna={{{Fauna|}}} }} {{#set:Fauna-number={{{Fauna-number|}}} }} {{#set:Flora={{{Flora|}}} }} {{#set:Flora-number={{{Flora-number|}}} }} {{#set:Water={{{Water|}}} }} {{#set:Resources={{{Resources|}}} |+sep}} {{#set:Resources-number={{{Resources-number|}}} }} {{#set:Traits={{{Traits|}}} |+sep}} {{#set:Traits-number={{{Traits-number|}}} }} {{#set:Description={{{Description|}}} }} {{#set:Points of Interest={{{Points of Interest|}}} |+sep}} {{#set:Exists IRL={{{Exists IRL|}}} }}{{#set:Patch={{{Patch|}}} }}</includeonly>
<noinclude>
<noinclude>
Designed for use on [[Planet]] pages.
Designed for use on [[Planet]] and [[Moon]] pages.


==Usage==
==Usage==
Line 101: Line 121:
|Image =  
|Image =  
|Name =  
|Name =  
|Alt Name =
|Star =  
|Star =  
|System =  
|System =  
Line 109: Line 130:
|Type =  
|Type =  
|Gravity =  
|Gravity =  
|Temperature Type =  
|Temperature-type =  
|Atmosphere =  
|Atmosphere =  
|Magnetosphere =  
|Magnetosphere =  
|Fauna =  
|Fauna =  
|Fauna Number =  
|Fauna-number =  
|Flora =  
|Flora =  
|Flora Number =  
|Flora-number =  
|Water =  
|Water =  
|Resources =  
|Resources =  
|Resources-number =
|Traits =  
|Traits =  
|Traits-number =
|Description =  
|Description =  
|Points of Interest =
|Exists IRL =
|Patch =  
|Patch =  
}}
}}

Latest revision as of 09:12, 8 September 2023

Planet Infobox
Information


Designed for use on Planet and Moon pages.

Usage

{{Planet Infobox
|Image = 
|Name = 
|Alt Name = 
|Star = 
|System = 
|Planet = 
|Moon = 
|Moon of = 
|Barren = 
|Type = 
|Gravity = 
|Temperature-type = 
|Atmosphere = 
|Magnetosphere = 
|Fauna = 
|Fauna-number = 
|Flora = 
|Flora-number = 
|Water = 
|Resources = 
|Resources-number = 
|Traits = 
|Traits-number = 
|Description = 
|Points of Interest = 
|Exists IRL = 
|Patch = 
}}

Parameters