Template:Banner

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


Usage Examples

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
Border colorcolor

CSS 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
Texttext

Displayed banner content.

Contentrequired
Extra classesclass

Additional CSS classes to apply to the banner.

Stringoptional
Extra stylesstyle

Additional CSS styles to apply to the outermost div.

Stringoptional