Template:Newbox: Difference between revisions

From Bastion of Hestia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{Infobox
{{Infobox
| title = {{{title|}}}
| title = {{{title|}}}
 
| subheader = {{{subheader|}}}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| caption = {{{caption|}}}
| labelstyle = padding-top:0.245em;line-height:1.15em;<!--(modified longitem)-->
              padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->


| rowclass2 = note
| header1 = {{{header|}}}
| headerstyle  = background:#ccf;
}}
}}
</includeonly>
</includeonly>

Revision as of 02:54, 28 March 2022



Test Template to do tests

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle heading

Displayed at the top of your Infobox

Default
Title
Example
Ravi-Hyral
Auto value
Stringrequired
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
altalt

no description

Unknownoptional
captioncaption

no description

Unknownoptional