Template:Newbox: Difference between revisions

From Bastion of Hestia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#invoke:Infobox|infobox}}
<!-- This is the actual template parameters -->
<includeonly>
{{Infobox
| bodyclass = hrecipe adr
 
| above  = {{{name|}}}
| abovestyle = background:#ccf;
 
| 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
| headerstyle  = background:#ccf;
}}
</includeonly>
 
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"test parameter": {
"name": {},
"aliases": [
"image": {},
"testalias"
"image_size": {},
],
"image_alt": {},
"label": "testlabel",
"alt": {},
"description": "testdescription",
"caption": {}
"example": "testexample",
"type": "string",
"default": "testdefault",
"suggested": true
}
},
},
"description": "Test Template to do tests",
"description": "Test Template to do tests",

Revision as of 02:45, 28 March 2022



Test Template to do tests

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
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