Template:Info: Difference between revisions
From Leo's Notes
This page was last edited on 9 August 2020, at 06:53.
No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="note info"> | <div class="note info">{{#if: {{{2|{{{message|}}}}}} | <h5>{{{1|{{{title|Default Title}}}}}}</h5>{{{2|{{{message|Default Message}}}}}} | {{{1|{{{title|Default Message}}}}}} }}</div> | ||
{{#if: {{{2|}}} | <h5>{{{1}}}</h5>{{{2}}} | {{{1}}} }} | <noinclude> | ||
</ | <templatedata> | ||
{ | |||
"description": "Places an infobox inline with content.", | |||
"params": { | |||
"title": { | |||
"aliases": [ | |||
"1", | |||
"title" | |||
], | |||
"label": "Title", | |||
"description": "Title of the info box", | |||
"example": "Infobox Title", | |||
"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> | |||
</noinclude> | |||
Latest revision as of 06:53, 9 August 2020
Default Message
Places an infobox inline with content.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title 1 title | Title of the info box
| String | required |
| Message | message 2 message | Message and content of the info box
| String | required |