Template:Planet Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;")
 
(3 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 94: Line 98:
{{!}} '''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 100: Line 112:
|-
|-
|}
|}
<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: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: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]] and [[Moon]] pages.
Designed for use on [[Planet]] and [[Moon]] pages.
Line 109: Line 121:
|Image =  
|Image =  
|Name =  
|Name =  
|Alt Name =
|Star =  
|Star =  
|System =  
|System =  
Line 130: Line 143:
|Traits-number =  
|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