Template:Planet: Difference between revisions
Mastergalen (talk | contribs) (Created page with "<includeonly>{{infobox common | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} | imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if...") |
Mastergalen (talk | contribs) No edit summary |
||
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}} | ||
| rows = | | rows = | ||
{{infobox row|label=Oxygen|field={{ #if: {{{oxygen|}}} | {{{oxygen}}} | ? }} }} | {{infobox row|label=Oxygen|field={{ #if: {{{oxygen|}}} | {{{oxygen}}} | ? }} }} |
Revision as of 16:03, 5 May 2013
{{{text}}}
This template provides a uniform design for Planet templates.
{{infobox common | title = Planet | imagearea = [[File:No image.png
{{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) | ? |
The above documentation is transcluded from Template:Planet/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Cookies help us deliver our services. By using our services, you agree to our use of cookies.