Template:Infobox: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><table class="infobox"> <tbody> <tr> <td colspan="2" class="infobox-header">{{{title}}}</td> </tr> <tr> <td co...")
 
No edit summary
Line 21: Line 21:
 
"description": "Title that appears at the top of the infobox.",
 
"description": "Title that appears at the top of the infobox.",
 
"type": "string",
 
"type": "string",
"required": true
+
"required": true,
  +
"default": "Infobox"
 
},
 
},
 
"illustration": {
 
"illustration": {
Line 29: Line 30:
 
},
 
},
 
"caption": {
 
"caption": {
"label": "Illustration caption",
+
"label": "Caption",
 
"description": "A short descriptive text for the illustration.",
 
"description": "A short descriptive text for the illustration.",
 
"type": "string"
 
"type": "string"

Revision as of 22:40, 6 March 2021


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