Template:Banner with image
From The Museum of Human Achievement
Inserts a banner styled as ".banner-with-image": a blue banner with image, featuring a heading and a banner message.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Heading | 1 | The banner heading | String | optional |
| Banner content | 2 | The banner message | Unbalanced wikitext | optional |
| Image | 3 | The image name or the URL | String | optional |
| Classes | 4 | Names of additional CSS classes | String | optional |
- Example (basic)
{{banner with image
|A Banner with image.
|A different kind of intro box with info block and image.
{{button|label=Button|class=transparent border-white mt-5}}
|MoHA-Fancy-adventure.jpg
}}
- Result
- Classes can be used to re-define certain parameters of the banner. See example usage with class
staff
{{Banner with image
|Zac Traeger
|Executive Director
[mailto:zac@themuseumofhumanachievement.com zac@themuseumofhumanachievement.com]
[https://calend.ly Office Hours Calendly]
{{Button|label=Learn more|class=transparent border-white mt-5 float-right}}
|Baloons.jpg
|staff
}}
- Result