Jump to content

Template:Galaxy Infobox: Difference between revisions

From The Petit Planet Wiki
No edit summary
Updated to DRUID infobox
 
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#invoke:Infobox|main
--><infobox>
|kind = Galaxy
  <title source="name">
|sep = ,
  <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format>
|title = {{{title|{{{name|{{PAGENAME}}}}}}}}
  </title>
|subtitle = {{{subtitle|}}}
  <image source="image"/>
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}}
  <data source="terrain">
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
    <label>Terrain</label>
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
  </data>
|sections = Information
  <data source="climate">
 
    <label>Climate</label>
|Information_nolabel = Yes
  </data>
|Information = Terrain, Climate, Details, Departure
  <data source="details">
|Terrain = {{{terrain|}}}
      <format><li>{{{details}}}</li></format>
|Climate = {{{climate|}}}
  </data>
 
  <data source="departure">
|Details_wide = Yes
    <format><li>{{{departure}}}</li></format>
|Details = {{{details|}}}
  </data>
|Departure_wide = Yes
</infobox><!--
|Departure = {{{departure|}}}
}}<!--
 
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->[[Category:Galaxies]]<!--
-->[[Category:Galaxies]]<!--
-->}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 13:20, 21 February 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.