Template:Banner

From Dune: Awakening Community Wiki
Jump to navigation Jump to search


Usage Examples

Template Call Output
{{Banner
|text = This is an example banner.
}}
This is an example banner.

TemplateData

This template renders a configurable banner box with an icon and text.

It uses wikitext to replicate the banner boxes from Module:Message box, leaving out the unnecessary namespace-awareness and type system logic.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Texttext

Displayed banner content.

Contentrequired
Border colorcolor

Color value for the left border. Defaults to #72777d (grey).

Default
#72777d
Stringoptional
Iconimage

Full file name with extension.

Default
Banner Icon - Alert.png
Fileoptional
Max Widthwidth

Maximum width of the banner.

Default
700px
Stringoptional
Extra classesclass

Additional CSS classes to apply to the banner.

Stringoptional
Extra stylesstyle

Additional CSS styles to apply to the outermost div.

Stringoptional