Template:Planet Infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 9: Line 9:
{{#if: {{{Star|}}}|
{{#if: {{{Star|}}}|
{{!}} '''Star'''
{{!}} '''Star'''
{{!}} {{{Star|}}} }}
{{!}} [[{{{Star|}}}]] }}
|-
|-
{{#if: {{{System|}}}|
{{#if: {{{System|}}}|
{{!}} '''System'''
{{!}} '''System'''
{{!}} {{{System|}}} }}
{{!}} [[{{{System|}}}]] }}
|-
|-
{{#if: {{{Planet|}}}|
{{#if: {{{Planet|}}}|
{{!}} '''Planet'''
{{!}} '''Planet'''
{{!}} {{{Planet|}}} }}
{{!}} {{{Planet|}}} }}
|-
{{#if: {{{Moons|}}}|
{{!}} '''Moons'''
{{!}} {{#arraymap:{{{Moons|}}}|,|x|[[Moons::x]]}} }}
|-
|-
{{#if: {{{Moon|}}}|
{{#if: {{{Moon|}}}|
Line 25: Line 29:
{{#if: {{{Moon of|}}}|
{{#if: {{{Moon of|}}}|
{{!}} '''Moon of'''
{{!}} '''Moon of'''
{{!}} {{{Moon of|}}} }}
{{!}} [[{{{Moon of|}}}]] }}
|-
|-
{{#if: {{{Barren|}}}|
{{#if: {{{Barren|}}}|
Line 65: Line 69:
{{#if: {{{Resources|}}}|
{{#if: {{{Resources|}}}|
{{!}} '''Resources'''
{{!}} '''Resources'''
{{!}} {{{Resources|}}} }}
{{!}} {{#arraymap:{{{Resources|}}}|,|x|[[Resources::x]]}} }}
|-
|-
{{#if: {{{Traits|}}}|
{{#if: {{{Traits|}}}|
Line 80: Line 84:
|-
|-
|}
|}
<includeonly>'''{{{Name|}}}''' is a [[Planet]] in the [[{{{System|}}}]] [[system]]. [[Category:Planets and Moons|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:Star={{{Star|}}} }} {{#set:System={{{System|}}} }} {{#set:Planet={{{Planet|}}} }} {{#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:Flora={{{Flora|}}} }} {{#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}}]] {{#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:Flora={{{Flora|}}} }} {{#set:Water={{{Water|}}} }} {{#set:Resources={{{Resources|}}} |+sep}} {{#set:Traits={{{Traits|}}} |+sep}} {{#set:Description={{{Description|}}} }} {{#set:Patch={{{Patch|}}} }}</includeonly>
<noinclude>
<noinclude>
Designed for use on [[Planet]] pages.
Designed for use on [[Planet]] pages.