Template:Callout

From Funky Station
Revision as of 11:37, 1 September 2024 by imported>Aliser (moved to lua)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine: docpage_link|Template:Callout/doc}}

Template documentation
[[{{#var:docpage_link}}|view]] or edit this documentation about template documentation
{{#vardefine: below_banner|Template:Uses lua

Template:Uses template styles}}Template:Uses lua

Template:Uses template styles

Template:Callout/doc

A template for producing various notices.

Template parameters

ParameterDescriptionTypeStatus
Type1

Type of the callout. Select from the suggested values. Any casing is supported.

Suggested values
Info Warning Danger Example Tip
Linerequired
Content2

Content of the callout.

Stringrequired
Header labelheader h

Header text of the callout. By default, depends on the type.

Linesuggested
Alignalign a

Alignment of the callout. When "Center" is used, the callout will span almost across the full width of a page. If "Stacked?" is enabled, this option is ignored.

Suggested values
Left Center Right
Default
Left
Linesuggested
Imageimage image1 i

An image to add inside the callout at the start.

Filesuggested
Second imageimage2 i2

A second image to add inside the callout to the left, after the first one.

Filesuggested
Stacked?stacked

If set, the callout will have a predefined constant width, which would be the same for all callouts with this option set. Useful for making notice callouts that "stack" on top of each other.

Auto value
0
Booleanoptional
Wrapper classwrapper class

Extra class names to assign to the callout wrapper element. Use space to separate multiple classes.

Lineoptional