Template:Box-summ: Difference between revisions

From Gulf States Flood Help
No edit summary
No edit summary
Line 9: Line 9:
|}
|}
</div></onlyinclude>
</div></onlyinclude>
<noinclude>
<templatedata>
{
    "description": "",
    "params": {
        "color": {
            "label": "Box Color",
            "description": "Choose from one of five colors",
            "type": "string",
            "autovalue": "blue",
            "example": "Other colors: grey, yellow, orange, green"
        },
        "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",
            "type": "string"
        }
    }
}
</templatedata>
</noinclude>

Revision as of 14:43, 27 November 2024

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
{{{title}}}
{{{text}}}


Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Box Colorcolor

Choose from one of five colors

Example
Other colors: grey, yellow, orange, green
Auto value
blue
Stringoptional
Box Titletitle

The bold text at the top of the box

Stringoptional
Body Contenttext

The content below the title

Stringoptional