Template:Note/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 21: | Line 21: | ||
"label": "Type", |
"label": "Type", |
||
"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.", |
"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.", |
||
− | "type": " |
+ | "type": "string", |
− | "default": "info" |
+ | "default": "info", |
+ | "suggestedvalues": [ |
||
+ | "info", |
||
+ | "reminder", |
||
+ | "warn", |
||
+ | "error" |
||
+ | ] |
||
} |
} |
||
}, |
}, |
Latest revision as of 22:01, 9 February 2025
Show a note in a box (e.g. a top-of-the-page warning).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type 2 | One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.
| String | optional |
Text | text 1 | no description | Content | required |
Inline formatting | inline | Show the template without line breaks before and after it | Boolean | optional |