Template:Info: Difference between revisions

From Leo's Notes
This page was last edited on 29 May 2020, at 21:18.
mNo edit summary
mNo edit summary
Line 3: Line 3:
<templatedata>
<templatedata>
{
{
    "description": "",
"description": "Places an infobox inline with content.",
    "params": {
"params": {
        "1": {
"title": {
            "label": "Title",
"aliases": [
            "description": "Title of the info box",
"1",
            "type": "string"
"title"
        },
],
        "2": {
"label": "Title",
            "label": "Message",
"description": "Title of the info box",
            "description": "Message and content of the info box",
"example": "Infobox Title",
            "type": "string"
"type": "string",
        }
"autovalue": "Infobox Title",
    }
"required": true
},
"message": {
"aliases": [
"2",
"message"
],
"label": "Message",
"description": "Message and content of the info box",
"example": "Infobox content",
"type": "string",
"autovalue": "",
"required": true
}
},
"paramOrder": [
"title",
"message"
],
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:18, 29 May 2020

{{{1}}}

Places an infobox inline with content.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle 1 title

Title of the info box

Example
Infobox Title
Auto value
Infobox Title
Stringrequired
Messagemessage 2 message

Message and content of the info box

Example
Infobox content
Auto value
Stringrequired