Template:Planet Infobox: Difference between revisions
No edit summary |
m (Text replacement - "#BDBDBD; color: #000000;" to "#4a668d; color: #ffffff;") |
||
(9 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|}}}| | {{#if: {{{Star|}}}| | ||
Line 43: | Line 47: | ||
{{!}} [[{{{Gravity|}}}]] }} | {{!}} [[{{{Gravity|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Temperature | {{#if: {{{Temperature-type|}}}| | ||
{{!}} '''Temperature''' | {{!}} '''Temperature''' | ||
{{!}} [[{{{Temperature | {{!}} [[{{{Temperature-type|}}}]] }} | ||
|- | |- | ||
{{#if: {{{Atmosphere|}}}| | {{#if: {{{Atmosphere|}}}| | ||
Line 59: | Line 63: | ||
{{!}} {{{Fauna|}}} }} | {{!}} {{{Fauna|}}} }} | ||
|- | |- | ||
{{#if: {{{Fauna | {{#if: {{{Fauna-number|}}}| | ||
{{!}} '''Fauna #''' | {{!}} '''Fauna #''' | ||
{{!}} {{{Fauna | {{!}} {{{Fauna-number|}}} }} | ||
|- | |- | ||
{{#if: {{{Flora|}}}| | {{#if: {{{Flora|}}}| | ||
Line 67: | Line 71: | ||
{{!}} {{{Flora|}}} }} | {{!}} {{{Flora|}}} }} | ||
|- | |- | ||
{{#if: {{{Flora | {{#if: {{{Flora-number|}}}| | ||
{{!}} '''Flora #''' | {{!}} '''Flora #''' | ||
{{!}} {{{Flora | {{!}} {{{Flora-number|}}} }} | ||
|- | |- | ||
{{#if: {{{Water|}}}| | {{#if: {{{Water|}}}| | ||
Line 78: | Line 82: | ||
{{!}} '''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|}}} }} | {{!}} {{#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 92: | Line 112: | ||
|- | |- | ||
|} | |} | ||
<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 | <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 101: | Line 121: | ||
|Image = | |Image = | ||
|Name = | |Name = | ||
|Alt Name = | |||
|Star = | |Star = | ||
|System = | |System = | ||
Line 109: | Line 130: | ||
|Type = | |Type = | ||
|Gravity = | |Gravity = | ||
|Temperature | |Temperature-type = | ||
|Atmosphere = | |Atmosphere = | ||
|Magnetosphere = | |Magnetosphere = | ||
|Fauna = | |Fauna = | ||
|Fauna | |Fauna-number = | ||
|Flora = | |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