Template:Planet Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;")
 
(22 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|}}}|
{{!}} '''Star'''
{{!}} '''Star'''
{{!}} {{{Star|}}} }}
{{!}} [[{{{Star|}}}]] }}
|-
{{#if: {{{System|}}}|
{{!}} '''System'''
{{!}} [[{{{System|}}}]] }}
|-
|-
{{#if: {{{Planet|}}}|
{{#if: {{{Planet|}}}|
{{!}} '''Planet'''
{{!}} '''Planet'''
{{!}} {{{Planet|}}} }}
{{!}} {{{Planet|}}} }}
|-
{{#if: {{{Moons|}}}|
{{!}} '''Moons'''
{{!}} {{#arraymap:{{{Moons|}}}|,|x|[[Moons::x]]}} }}
|-
|-
{{#if: {{{Moon|}}}|
{{#if: {{{Moon|}}}|
{{!}} '''Moon'''
{{!}} '''Moon'''
{{!}} {{{Moon|}}} }}
{{!}} {{{Moon|}}} }}
|-
{{#if: {{{Moon of|}}}|
{{!}} '''Moon of'''
{{!}} [[{{{Moon of|}}}]] }}
|-
|-
{{#if: {{{Barren|}}}|
{{#if: {{{Barren|}}}|
Line 25: Line 41:
{{#if: {{{Type|}}}|
{{#if: {{{Type|}}}|
{{!}} '''Type'''
{{!}} '''Type'''
{{!}} {{{Type|}}} }}
{{!}} [[{{{Type|}}}]] }}
|-
|-
{{#if: {{{Gravity|}}}|
{{#if: {{{Gravity|}}}|
{{!}} '''Gravity'''
{{!}} '''Gravity'''
{{!}} {{{Gravity|}}} }}
{{!}} [[{{{Gravity|}}}]] }}
|-
|-
{{#if: {{{Temperature|}}}|
{{#if: {{{Temperature-type|}}}|
{{!}} '''Temperature'''
{{!}} '''Temperature'''
{{!}} {{{Temperature|}}} }}
{{!}} [[{{{Temperature-type|}}}]] }}
|-
|-
{{#if: {{{Atmosphere|}}}|
{{#if: {{{Atmosphere|}}}|
{{!}} '''Atmosphere'''
{{!}} '''Atmosphere'''
{{!}} {{{Atmosphere|}}} }}
{{!}} [[{{{Atmosphere|}}}]] }}
|-
|-
{{#if: {{{Magnetosphere|}}}|
{{#if: {{{Magnetosphere|}}}|
{{!}} '''Magnetosphere'''
{{!}} '''Magnetosphere'''
{{!}} {{{Magnetosphere|}}} }}
{{!}} [[{{{Magnetosphere|}}}]] }}
|-
|-
{{#if: {{{Fauna|}}}|
{{#if: {{{Fauna|}}}|
{{!}} '''Fauna'''
{{!}} '''Fauna'''
{{!}} {{{Fauna|}}} }}
{{!}} {{{Fauna|}}} }}
|-
{{#if: {{{Fauna-number|}}}|
{{!}} '''Fauna #'''
{{!}} {{{Fauna-number|}}} }}
|-
|-
{{#if: {{{Flora|}}}|
{{#if: {{{Flora|}}}|
{{!}} '''Flora'''
{{!}} '''Flora'''
{{!}} {{{Flora|}}} }}
{{!}} {{{Flora|}}} }}
|-
{{#if: {{{Flora-number|}}}|
{{!}} '''Flora #'''
{{!}} {{{Flora-number|}}} }}
|-
|-
{{#if: {{{Water|}}}|
{{#if: {{{Water|}}}|
{{!}} '''Water'''
{{!}} '''Water'''
{{!}} {{{Water|}}} }}
{{!}} [[{{{Water|}}}]] }}
|-
|-
{{#if: {{{Resources|}}}|
{{#if: {{{Resources|}}}|
{{!}} '''Resources'''
{{!}} '''Resources'''
{{!}} {{{Resources|}}} }}
{{!}} {{#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 72: Line 112:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}}''' is a [[Planet]]. [[Category:Planets|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Star={{{Star|}}} }} {{#set:Planet={{{Planet|}}} }} {{#set:Moon={{{Moon|}}} }} {{#set:Barren={{{Barren|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Gravity={{{Gravity|}}} }} {{#set:Temperature={{{Temperature|}}} }} {{#set:Atmosphere={{{Atmosphere|}}} }} {{#set:Magnetosphere={{{Magnetosphere|}}} }} {{#set:Fauna={{{Fauna|}}} }} {{#set:Flora={{{Flora|}}} }} {{#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 81: Line 121:
|Image =  
|Image =  
|Name =  
|Name =  
|Alt Name =
|Star =  
|Star =  
|Planet = Yes or No
|System =
|Moon = Yes or No
|Planet =  
|Barren = Yes or No
|Moon =  
|Moon of =
|Barren =  
|Type =  
|Type =  
|Gravity =  
|Gravity =  
|Temperature =  
|Temperature-type =  
|Atmosphere =  
|Atmosphere =  
|Magnetosphere =  
|Magnetosphere =  
|Fauna =  
|Fauna =  
|Fauna-number =
|Flora =  
|Flora =  
|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