Template:System Infobox: Difference between revisions

From Starfield Fans Wiki
No edit summary
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;")
 
(7 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: {{{Type|}}}|
{{#if: {{{Type|}}}|
{{!}} '''Type'''
{{!}} '''Type'''
{{!}} {{{Type|}}} }}
{{!}} {{{Type|}}} }}
|-
{{#if: {{{Number|}}}|
{{!}} '''Number'''
{{!}} {{{Number|}}} }}
|-
|-
{{#if: {{{Level|}}}|
{{#if: {{{Level|}}}|
Line 49: Line 53:
{{#if: {{{Planets|}}}|
{{#if: {{{Planets|}}}|
{{!}} '''Planets'''
{{!}} '''Planets'''
{{!}} {{{Planets|}}} }}
{{!}} {{#arraymap:{{{Planets|}}}|,|x|[[Planets::x]]}} }}
|-
|-
{{#if: {{{Moons|}}}|
{{#if: {{{Moons|}}}|
{{!}} '''Moons'''
{{!}} '''Moons'''
{{!}} {{{Moons|}}} }}
{{!}} {{#arraymap:{{{Moons|}}}|,|x|[[Moons::x]]}} }}
|-
|-
{{#if: {{{Outputs|}}}|
{{#if: {{{Outputs|}}}|
Line 62: Line 66:
{{!}} '''Description'''
{{!}} '''Description'''
{{!}} {{{Description|}}} }}
{{!}} {{{Description|}}} }}
|-
{{#if: {{{Points of Interest|}}}|
{{!}} '''Points of Interest'''
{{!}} {{#arraymap:{{{Points of Interest|}}}|,|x|[[Points of Interest::x]]}} }}
|-
{{#if: {{{Notable Resources|}}}|
{{!}} '''Notable Resources'''
{{!}} {{#arraymap:{{{Notable Resources|}}}|,|x|[[Notable Resources::x]]}} }}
|-
{{#if: {{{Exists IRL|}}}|
{{!}} '''Exists IRL'''
{{!}} {{{Exists IRL|}}} }}
|-
|-
{{#if: {{{Patch|}}}|
{{#if: {{{Patch|}}}|
Line 68: Line 84:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}}''' is a level {{{Level|}}} [[System]] with {{{Planets-number|}}} [[Planets]] and {{{Moons-number|}}} [[Moons]]. [[Category:Systems|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Level={{{Level|}}} }} {{#set:Spectral Class={{{Spectral Class|}}} }} {{#set:Catalogue ID={{{Catalogue ID|}}} }} {{#set:Temperature-type={{{Temperature-type|}}} }} {{#set:Mass={{{Mass|}}} }} {{#set:Radius={{{Radius|}}} }} {{#set:Magnitude={{{Magnitude|}}} }} {{#set:Planets-number={{{Planets-number|}}} }} {{#set:Moons-number={{{Moons-number|}}} }} {{#set:Planets={{{Planets|}}} |+sep}} {{#set:Moons={{{Moons|}}} |+sep}} {{#set:Outposts={{{Outposts|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}}''' is a level {{{Level|}}} [[Star System]] with {{{Planets-number|}}} [[Planets]] and {{{Moons-number|}}} [[Moons]]. [[Category:Systems|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Type={{{Type|}}} |+sep}} {{#set:Number={{{Number|}}} }} {{#set:Level={{{Level|}}} }} {{#set:Spectral Class={{{Spectral Class|}}} }} {{#set:Catalogue ID={{{Catalogue ID|}}} }} {{#set:Temperature-type={{{Temperature-type|}}} }} {{#set:Mass={{{Mass|}}} }} {{#set:Radius={{{Radius|}}} }} {{#set:Magnitude={{{Magnitude|}}} }} {{#set:Planets-number={{{Planets-number|}}} }} {{#set:Moons-number={{{Moons-number|}}} }} {{#set:Planets={{{Planets|}}} |+sep}} {{#set:Moons={{{Moons|}}} |+sep}} {{#set:Outposts={{{Outposts|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Points of Interest={{{Points of Interest|}}} |+sep}} {{#set:Notable Resources={{{Notable Resources|}}} |+sep}} {{#set:Exists IRL={{{Exists IRL|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<noinclude>
<noinclude>
Designed for use on [[System]] pages.
Designed for use on [[System]] pages.
Line 78: Line 94:
|Name =  
|Name =  
|Type =  
|Type =  
|Number =
|Level =  
|Level =  
|Spectral Class =  
|Spectral Class =  
Line 91: Line 108:
|Outputs =  
|Outputs =  
|Description =  
|Description =  
|Points of Interest =
|Notable Resources =
|Exists IRL =
|Patch =  
|Patch =  
}}
}}

Latest revision as of 09:12, 8 September 2023

System Infobox
Information


Designed for use on System pages.

Usage

{{System Infobox
|Image = 
|Name = 
|Type = 
|Number = 
|Level = 
|Spectral Class = 
|Catalogue ID = 
|Temperature-type = 
|Mass = 
|Radius = 
|Magnitude = 
|Planets-number = 
|Moons-number = 
|Planets = 
|Moons = 
|Outputs = 
|Description = 
|Points of Interest = 
|Notable Resources = 
|Exists IRL = 
|Patch = 
}}

Parameters