Template:Box-summ/doc: Difference between revisions

From Equinox Wiki
No edit summary
No edit summary
Line 24: Line 24:
     "description": "",
     "description": "",
     "params": {
     "params": {
         "1": {
         "color": {
             "label": "Example parameter",
             "label": "Box Color",
             "description": "Example parameter description",
             "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"
             "type": "string"
         }
         }

Revision as of 14:41, 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)
|title = (the summary title)
|text = (write in your information
}}
Yellow
Orange
Grey
Green


Template parameters

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