Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation

This template is used to show toast similar to Minecraft.

Basic usage[]

This is a normal toast
With helpful and descriptive subtext
{{toast
| title = This is a normal toast
| text = With helpful and descriptive subtext
}}

Themed usage[]

This is a normal themed toast
With helpful and descriptive subtext
{{toast
| theme = narrator
| title = This is a normal themed toast
| text = With helpful and descriptive subtext
}}

This is a normal themed toast
With helpful and descriptive subtext
{{toast
| theme = advancement
| title = This is a normal themed toast
| text = With helpful and descriptive subtext
}}

Advanced usage[]

{{toast
| theme = advancement
| title = Challenge Complete!
| titlecolor = #FF88FF
| text = Sniper duel
| image = Arrow (item).png
| align = left
}}
Arrow (item)
Challenge Complete!
Sniper duel

{{toast
| bgcol = #eef
| inlinecol = #e0f4ff
| outlinecol = #ddf
| title = This is a blue toast
| text = It has some custom CSS
| align = left
| css = box-shadow: 0px 0px 6px #888
}}
This is a blue toast
It has some custom CSS

{{toast
| bgcol = #eef
| inlinecol = #e0f4ff
| outlinecol = #ddf
| title = This is a blue toast
| text = It has some custom CSS and a custom image
| image = Bot.png
| align = left
| css = box-shadow: 0px 0px 6px #888
}}
Bot
This is a blue toast
It has some custom CSS and a custom image

A custom image size can also be specified with "imagesize", for example: imagesize = 50px

Advanced themed usage[]

{{toast
| theme = narrator
| outlinecol = #dff
| title = This is a blue themed toast
| text = It has some custom CSS
| align = left
| css = box-shadow: 0px 0px 6px #777
}}
This is a blue themed toast
It has some custom CSS

{{toast
| theme = narrator
| outlinecol = #dff
| title = This is a blue themed toast
| text = It has some custom CSS and a custom image
| image = Bot.png
| align = left
| css = box-shadow: 0px 0px 6px #777
}}
Bot
This is a blue themed toast
It has some custom CSS and a custom image

A custom image size can also be specified with "imagesize", for example: imagesize = 50px

Category[]

This template automatically adds templates that use it to Category:Notice templates. To prevent that, simply set the parameter |nocat=.

[view | edit | history | purge]The above documentation is transcluded from Template:Toast/doc.
Advertisement