Difference between revisions of "Template:Note box/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) m (Text replacement - "tt>" to "samp>") |
Margotbean (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
This template creates a formatted note box which calls attention to important information on tutorial or documentation pages. | This template creates a formatted note box which calls attention to important information on tutorial or documentation pages. | ||
− | == | + | ==Use== |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
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]] | ||
− | |||
− | </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.
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.
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.