Template:Newbox Planet: Difference between revisions

From Bastion of Hestia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| title = {{{name|}}}
| title = {{{name|}}}
| titlestyle = font-family: 'Roboto Slab', serif;
| titlestyle = font-family: 'Roboto Slab', serif; font-size: 2em; color: #374355;
| bodystyle = background: #EBEFF3;
| bodystyle = background: #EBEFF3;
| imagestlye = border-color: #374355; border: 2px; background: #374355;


| above = {{{type|}}}
| above = {{{type|}}}
| subheader = {{{system|}}}
| subheader = System: {{{system|}}}


| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless}}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless}}
| headerstyle = color: #EBEFF3;
| labelstyle = background: #C9D3DF; color: #374355;
| datastyle = background: #ADB9C9; color: #374355;
| rowstyle1 = background: #0081D5;
| header1 = General Information
|  label2 = Population
|  data2 = {{{population|}}}
| rowstyle3 = background: #03BD5B;
| rowstyle5 = background: #9DBF15;
| rowstyle7 = background: #FF9947;
| rowstyle9 = background: #D1335B;
| rowstyle11 = background: #A939B9;
| below = By: {{{author|}}}
}}</includeonly>
}}</includeonly>


Line 38: Line 59:
"description": "An image of the planet.",
"description": "An image of the planet.",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
},
"population": {
"label": "Population",
"description": "How many people live on your planet",
"example": "1337",
"type": "number",
"suggested": true,
"default": "0"
},
"author": {
"aliases": [
"authors"
],
"label": "Author(s)",
"description": "Can include multiple!",
"example": "Carl",
"type": "string",
"suggested": true
"suggested": true
}
}

Latest revision as of 05:09, 28 March 2022


An updated Template for Infoboxes about planets.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Planet Namename

The name of the planet.

Unknownrequired
Planet Typetype

This can be anything.

Example
Rocky World
Stringsuggested
Star Systemsystem

The star system the planet is in.

Example
Sol
Stringsuggested
Imageimage

An image of the planet.

Filesuggested
Populationpopulation

How many people live on your planet

Default
0
Example
1337
Numbersuggested
Author(s)author authors

Can include multiple!

Example
Carl
Stringsuggested