Template:Box-summ: Difference between revisions

From Gulf States Flood Help
No edit summary
No edit summary
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;"
| style="vertical-align:middle; font-weight: 600; margin-bottom: 0;" | {{{title}}}
| style="vertical-align:middle; font-weight: 600; margin-bottom: 0;" | {{{title}}}
Line 22: Line 22:
             "autovalue": "blue",
             "autovalue": "blue",
             "example": "Blue (default), grey, yellow, orange, green"
             "example": "Blue (default), grey, yellow, orange, green"
        },
        "style": {
            "label": "Additional Table Styles",
            "description": "A space to add additional table styles",
            "type": "string"
         },
         },
         "title": {
         "title": {

Revision as of 14:24, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Box Colorcolor

Choose from one of five colors

Example
Blue (default), grey, yellow, orange, green
Auto value
blue
Stringoptional
Additional Table Stylesstyle

A space to add additional table styles

Stringoptional
Box Titletitle

The bold text at the top of the box

Stringoptional
Body Contenttext

The content below the title, which can include templates

Contentoptional