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
(Create template)
 
m (Also remove line breaks when collab=no)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{|class="ambox ambox-{{{type|notice}}}"
<onlyinclude><includeonly><blockquote>
{|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}}|}}
 
|}</blockquote></includeonly></onlyinclude>
{{collab}}
|}</includeonly></onlyinclude>


Base for {{t|ambox stub}}.
Base for {{t|ambox stub}}.
Line 27: 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