Jump to content

Template:Note box/doc: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
create page
 
imported>Margotbean
m Text replacement - "tt>" to "samp>"
Line 8: Line 8:
! description
! description
|-
|-
| <tt>1</tt> or <tt>text</tt>
| <samp>1</samp> or <samp>text</samp>
| The text to display.
| The text to display.
|-
|-
| <tt>type</tt>
| <samp>type</samp>
| The note box severity. The possible values are <tt>note</tt> (default), <tt>warning</tt>, or <tt>error</tt>.
| The note box severity. The possible values are <samp>note</samp> (default), <samp>warning</samp>, or <samp>error</samp>.
|}
|}



Revision as of 18:47, 4 November 2021

Description

This template creates a formatted note box which calls attention to important information on tutorial or documentation pages.

Usage

field description
1 or text The text to display.
type The note box severity. The possible values are note (default), warning, or error.

Examples

Note

ⓘ
This is the 'getting started' tutorial page. When you're done here, check the box on the right for more documentation!

Warning

⚠
Make sure to add the dependency to your manifest!
Otherwise players will get confusing errors if the other mod isn't installed, or if it gets loaded after your mod.

Error

🅧
XNB mods are an obsolete type of mod and are no longer recommended.
SMAPI can't check them for compatibility and they may cause bugs, crashes, or save corruption. Use XNB mods at your own risk, or see alternatives using Content Patcher.