The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:Ambox: Difference between revisions

Template page
m (This line break is necessary)
Tag: 2017 source edit
m (Also remove line breaks when collab=no)
 
(One intermediate revision by the same user not shown)
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}}|}}
 
{{collab}}
|}</blockquote></includeonly></onlyinclude>
|}</blockquote></includeonly></onlyinclude>


Line 28: Line 26:
"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"
}
}
},
},

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

becomes CSS class `ambox-{{{type}}}`

Default
notice
Stringsuggested
Image Filenameimage

omit "File:"

Fileoptional
Label Texttext

no description

Contentrequired
Enable Collab Linecollab

yes/no bool, toggles including a "call to action" line

Default
yes
Auto value
no
Stringoptional