Template:Infobox

From Kerbal Powers Wiki
Revision as of 23:24, 6 March 2021 by JuanHorse (talk | contribs)
Jump to navigation Jump to search


Example

Example

KP dark.png Example infobox Example section Sample data Soap floats on water, but its efficiency at naval battles is yet to be proven


The following markup will produce the output presented to the right of this paragraph :

{{Infobox
 | title = Example
 | illustration = [[File:KP dark.png]]
 | caption = Example infobox
 | example_data = Soap floats on water, but its efficiency at naval battles is yet to be proven
}}

Generic floating infobox.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title that appears at the top of the infobox.

Default
Infobox
Stringrequired
Illustrationillustration

A picture describing the subject.

Fileoptional
Captioncaption

A short descriptive text for the illustration.

Stringoptional
example_dataexample_data

This is only used for demonstration purposes. Any children template inheriting from this one should remove this attribute.

Unknowndeprecated