Template:Box-summ: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude><div class="sol-rounded sol-summary {{{color|blue}}}" style="{{{style|}}}"> | |||
{| | |||
<onlyinclude><div class="sol-rounded sol-summary {{{color| | |- style="vertical-align:middle;" | ||
{| | | style="vertical-align:middle; font-weight: 600; margin-bottom: 0;" | {{{title}}} | ||
|- | |||
| style="vertical-align:middle; font-weight: 600;" | {{{title}}} | |||
|- | |- | ||
|<div class="block">{{{text}}}</div> | |<div class="block">{{{text}}}</div> | ||
|} | |} | ||
</div></onlyinclude> | </div></onlyinclude> | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | |||
{{Documentation}} | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Use this template to summarize information in a colored box with rounded corners.", | |||
"params": { | |||
"color": { | |||
"label": "Box Color", | |||
"description": "Choose from one of five colors", | |||
"type": "string", | |||
"autovalue": "blue", | |||
"example": "Blue (default), grey, yellow, orange, green" | |||
}, | |||
"style": { | |||
"label": "Additional Table Styles", | |||
"description": "A space to add additional table styles", | |||
"type": "string" | |||
}, | |||
"title": { | |||
"label": "Box Title", | |||
"description": "The bold text at the top of the box", | |||
"type": "string" | |||
}, | |||
"text": { | |||
"label": "Body Content", | |||
"description": "The content below the title, which can include templates", | |||
"type": "content" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 14:27, 6 January 2025
| {{{title}}} |
{{{text}}}
|
The {{box-summ}} template uses the following syntax. The blue background color shown below is the default.
{{box-summ
|color = (grey|yellow|orange|blue|green)
|style = (any additional box styling)
|title = (the summary title)
|text = (write in your information
}}
| Yellow |
| Orange |
| Grey |
| Green |
Use this template to summarize information in a colored box with rounded corners.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Box Color | color | Choose from one of five colors
| String | optional |
| Additional Table Styles | style | A space to add additional table styles | String | optional |
| Box Title | title | The bold text at the top of the box | String | optional |
| Body Content | text | The content below the title, which can include templates | Content | optional |