Template:Planet Infobox: Difference between revisions
No edit summary |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(25 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: # | ! 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: # | ! colspan="2" style="background-color: #4a668d; color: #ffffff; padding:0em;" | Information | ||
|- | |||
{{#if: {{{Alt Name|}}}| | |||
{{!}} '''Alt Name''' | |||
{{!}} [[{{{Alt Name|}}}]] }} | |||
|- | |||
{{#if: {{{Star|}}}| | |||
{{!}} '''Star''' | |||
{{!}} [[{{{Star|}}}]] }} | |||
|- | |- | ||
{{#if: {{{System|}}}| | {{#if: {{{System|}}}| | ||
{{!}} '''System''' | {{!}} '''System''' | ||
{{!}} {{{System|}}} }} | {{!}} [[{{{System|}}}]] }} | ||
|- | |||
{{#if: {{{Planet|}}}| | |||
{{!}} '''Planet''' | |||
{{!}} {{{Planet|}}} }} | |||
|- | |||
{{#if: {{{Moons|}}}| | |||
{{!}} '''Moons''' | |||
{{!}} {{#arraymap:{{{Moons|}}}|,|x|[[Moons::x]]}} }} | |||
|- | |||
{{#if: {{{Moon|}}}| | |||
{{!}} '''Moon''' | |||
{{!}} {{{Moon|}}} }} | |||
|- | |||
{{#if: {{{Moon of|}}}| | |||
{{!}} '''Moon of''' | |||
{{!}} [[{{{Moon of|}}}]] }} | |||
|- | |||
{{#if: {{{Barren|}}}| | |||
{{!}} '''Barren''' | |||
{{!}} {{{Barren|}}} }} | |||
|- | |- | ||
{{#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|}}}| | |||
{{!}} '''Resources''' | |||
{{!}} {{#arraymap:{{{Resources|}}}|,|x|[[Resources::x]]}} }} | |||
|- | |||
{{#if: {{{Resources-number|}}}| | |||
{{!}} '''Resources #''' | |||
{{!}} {{{Resources-number|}}} }} | |||
|- | |||
{{#if: {{{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 52: | Line 112: | ||
|- | |- | ||
|} | |} | ||
<includeonly>'''{{{Name|}}}''' is a [[Planet]]. [[Category:Planets|{{PAGENAME}}]] {{#set:Image=File:{{{Image|}}} }} {{#set:Name={{{Name|}}} }} {{#set:System={{{System|}}} }} {{#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: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 61: | Line 121: | ||
|Image = | |Image = | ||
|Name = | |Name = | ||
|Alt Name = | |||
|Star = | |||
|System = | |System = | ||
|Planet = | |||
|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-number = | |||
|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