Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation header This template is used to show toast similar to Minecraft.

Basic usage

Template:Toast

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

Themed usage

Narrator

Template:Toast

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

Advancement

Template:Toast

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

Recipe

Template:Toast

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

Story Mode

The template automatically applies the Story Mode theme in the Story Mode namespace. See also {{Dialogue}} and {{Interact}}

Parameters

{{dialogue|
: '''Citizen:''' You... would you like... Esteban... or Smushy Cutecheeks... or Lord von Thunderpork VI? They’re all good... Were good... They were so good...
: {{interact|talk|Esteban}}
:: '''Jesse:''' I think Esteban sounds... good.
:: '''Citizen:''' Right... away...
:; (Jesse eats Esteban's porkchop.)
:: {{toast|theme=story mode|You ate the porkchop. Wow.}}
: {{interact|talk|...}}
:: '''Citizen:''' You... changed your mind? You don’t want one?
}}
<hr>
{{dialogue|
: '''Nell:''' Like I see it out of the corner of my eye... Just like that. Bam! Whoa...
: {{interact|talk|Change it back.}}
:: '''Jesse:''' You know what? I changed my mind. Let's bring the old one back, shall we?
:: '''Nell:''' Dude! Can't wait to see it again. Not that, y'know, this one wasn't... Like, go with your gut, dude. 'Specially if it wants the old one back. Cha!
:: {{toast|theme=story mode|type=branch|Your story is changing.}}
}}

Template:Produces

Advanced usage

{{toast
| theme = advancement
| title = Challenge Complete!
| titlecolor = #FF55FF
| text = Sniper Duel
| image = Invicon Arrow.png
| imageclass = pixel-image
| align = left
}}

Template:Toast


{{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
}}

Template:Toast


{{toast
| theme = recipe
| bgcol = #eef
| inlinecol = #e0f4ff
| outlinecol = #ddf
| title = This is a blue toast
| text = It has some custom CSS and a custom image<br><span style="color: red">This is an additional line of text</span>
| image = Bot.png
| align = left
| css = filter: drop-shadow(0px 0px 2px #888)
}}

Template:Toast

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
}}

Template:Toast


{{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
}}

Template:Toast

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 Template:P.


ja:テンプレート:Toast/doc pt:Predefinição:Toast/doc