Template:Box-summ: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude><div class="sol-rounded sol-summary {{{color|blue}}}"> | <onlyinclude><div class="sol-rounded sol-summary {{{color|blue}}}" style="{{{style|}}}"> | ||
{| | {| | ||
|- | |- style="vertical-align:middle;" | ||
| style="vertical-align:middle; font-weight: 600;" | {{{title}}} | | style="vertical-align:middle; font-weight: 600; margin-bottom: 0;" | {{{title}}} | ||
|- | |- | ||
|<div class="block">{{{text}}}</div> | |<div class="block">{{{text}}}</div> | ||
| Line 9: | Line 9: | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | ||
{{Documentation}} | {{Documentation}} | ||
<noinclude> | <noinclude> | ||
| Line 20: | Line 21: | ||
"type": "string", | "type": "string", | ||
"autovalue": "blue", | "autovalue": "blue", | ||
"example": " | "example": "Blue (default), grey, yellow, orange, green" | ||
}, | |||
"style": { | |||
"label": "Additional Table Styles", | |||
"description": "A space to add additional table styles", | |||
"type": "string" | |||
}, | }, | ||
"title": { | "title": { | ||
| Line 29: | Line 35: | ||
"text": { | "text": { | ||
"label": "Body Content", | "label": "Body Content", | ||
"description": "The content below the title", | "description": "The content below the title, which can include templates", | ||
"type": " | "type": "content" | ||
} | } | ||
} | } | ||
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 |