(Add param for disabling collab line in output) |
m (Also remove line breaks when collab=no) |
||
Line 2: | Line 2: | ||
{|class="ambox ambox-{{{type|notice}}}" | {|class="ambox ambox-{{{type|notice}}}" | ||
|{{#if:{{{image|}}}|[[File:{{{image}}}|x48px|link=]]|<div class="ambox-image-placeholder" />}} | |{{#if:{{{image|}}}|[[File:{{{image}}}|x48px|link=]]|<div class="ambox-image-placeholder" />}} | ||
|{{{text}}} | |{{{text}}}{{#ifeq:{{{collab|yes}}}|yes|<br/><br/>{{collab}}|}} | ||
{{#ifeq:{{{collab|yes}}}|yes|{{collab}}|}} | |||
|}</blockquote></includeonly></onlyinclude> | |}</blockquote></includeonly></onlyinclude> | ||
Latest revision as of 06:23, 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 |