Template:Planet: Difference between revisions

No edit summary
m (Orbit)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{infobox common
<includeonly>{{infobox common
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}}]]
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px|center]]{{
  #if: {{{image2|}}} | <div style="padding-top: 1em">[[File:{{{image2}}}|150px|center]]</div>
}}{{
  #if: {{{image3|}}} | <div style="padding-top: 1em">[[File:{{{image3}}}|150px|center]]</div>
}}
| rows =
| rows =
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Life support|field={{ #if: {{{life_support|}}} | {{{life_support}}} | ? }} }}
{{infobox row|label=Oxygen|field={{ #if: {{{oxygen|}}} | {{{oxygen}}} | ? }} }}
{{infobox row|label=Oxygen|field={{ #if: {{{oxygen|}}} | {{{oxygen}}} | ? }} }}
{{infobox row|label=Gravity|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
{{infobox row|label=Orbits|field={{ #if: {{{orbits|}}} | {{{orbits}}} | ? }} }}
{{infobox row|label=Day-night cycle duration|field={{ #if: {{{day_length|}}} | {{{day_length}}} | ? }} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Infobox templates|P]]
[[Category:Infobox templates|P]]
</noinclude>
</noinclude>

Latest revision as of 13:15, 16 March 2014

[edit] [history] [purge] Documentation icon Template documentation
{{{text}}}

This template provides a uniform design for Planet templates.

Planet
No image.png
Type

?

Life support

?

Oxygen

?

Gravity

?

Orbits

?

Day-night cycle duration

?

{{Planet
| title = 
| type =
| life_support = 
| oxygen =
| gravity =
| orbits =
| day_length =
}}
Parameter Function Default value
title Only needed to change the title from the page name {{BASEPAGENAME}}
image Image of the profession (should be approx. 150x150px) {{{title}}}.png if it exists, otherwise No image.png (linking to the page where to upload the missing image)
type Type of the dimension: Space Station, Planet, Moon, Asteroid ?
life_support If it is Full of life, Habitable or Uninhabitable ?
oxygen Whether there is Oxygen present in the atmosphere ?
gravity Gravity in % (Overworld is 100%) ?
orbits The body of the Solar System this dimension orbits (e.g. Sun, Overworld) ?
day_length Day-night cycle length in hours and minutes and in Overworld days between parenthesis, such as 0h 00min (0 Overworld days) ?
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis