Template:Planet Infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 78: Line 78:
{{!}} '''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|}}} }}
{{!}} {{{Traits|}}} }}
|-
{{#if: {{{Traits-number|}}}|
{{!}} '''Traits #'''
{{!}} {{{Traits-number|}}} }}
|-
|-
{{#if: {{{Description|}}}|
{{#if: {{{Description|}}}|
Line 92: Line 100:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}}''' is a [[Planet]] 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:Traits={{{Traits|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<includeonly>'''{{{Name|}}}''' is a [[Planet]] 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>
<noinclude>
<noinclude>
Designed for use on [[Planet]] pages.
Designed for use on [[Planet]] pages.
Line 118: Line 126:
|Water =  
|Water =  
|Resources =  
|Resources =  
|Resources-number =
|Traits =  
|Traits =  
|Traits-number =
|Description =  
|Description =  
|Patch =  
|Patch =