m (This line break is necessary) Tag: 2017 source edit |
(Add param for disabling collab line in output) |
||
Line 4: | Line 4: | ||
|{{{text}}} | |{{{text}}} | ||
{{collab}} | {{#ifeq:{{{collab|yes}}}|yes|{{collab}}|}} | ||
|}</blockquote></includeonly></onlyinclude> | |}</blockquote></includeonly></onlyinclude> | ||
Line 28: | Line 28: | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true | ||
}, | |||
"collab": { | |||
"label": "Enable Collab Line", | |||
"description": "yes/no bool, toggles including a \"call to action\" line", | |||
"type": "string", | |||
"default": "yes", | |||
"autovalue": "no" | |||
} | } | ||
}, | }, |
Revision as of 06:22, 4 November 2023
Base for {{ambox stub}}.
The below documentation is automatically generated from JSON. It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.
Intended for Template namespace: Creates an article message box.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | becomes CSS class `ambox-{{{type}}}`
| String | suggested |
Image Filename | image | omit "File:" | File | optional |
Label Text | text | no description | Content | required |
Enable Collab Line | collab | yes/no bool, toggles including a "call to action" line
| String | optional |