Difference between revisions of "Template:Note box/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (Text replacement - "==Usage==" to "==Use==")
 
Line 25: Line 25:
 
{{note box|'''XNB mods are an obsolete type of mod and are no longer recommended.'''<br />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|alternatives using Content Patcher]].|type=error}}
 
{{note box|'''XNB mods are an obsolete type of mod and are no longer recommended.'''<br />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|alternatives using Content Patcher]].|type=error}}
  
<includeonly>
+
<includeonly>{{Addlanglinks}}[[Category:Modding templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
[[Category:Modding templates]]
 
{{Addlanglinks}}
 
</includeonly>
 
 
 
<noinclude>[[Category:Template documentation]]</noinclude>
 

Latest revision as of 22:18, 8 January 2023

Description

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

Use

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.