Jump to content

Template:Galaxy Infobox: Difference between revisions

From The Petit Planet Wiki
No edit summary
Updated to DRUID infobox
 
(2 intermediate revisions by one other user not shown)
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|}}}
  <data source="terrain">
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}}
    <label>Terrain</label>
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
  </data>
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
  <data source="climate">
|sections = Information
    <label>Climate</label>
 
  </data>
|Information_nolabel = Yes
  <data source="details">
|Information = Terrain, Climate, Details, Departure
      <format><li>{{{details}}}</li></format>
|Terrain = {{{terrain|}}}
  </data>
|Climate = {{{climate|}}}
  <data source="departure">
 
    <format><li>{{{departure}}}</li></format>
|Details_wide = Yes
  </data>
|Details = {{{details|}}}
</infobox><!--
|Departure_wide = Yes
|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.