Difference between revisions of "User:Pathoschild/Sandbox"

From Stardew Valley Wiki
Jump to navigation Jump to search
(+ draft callout templates)
 
(→‎Callout templates: add max widths)
Line 3: Line 3:
  
 
===Tip/info===
 
===Tip/info===
<div style="border-radius: 3px; padding: 8px; background: #e3fcef; min-height: 3em; display: flex; flex-direction: row; align-items: center;">
+
<div style="border-radius: 3px; padding: 8px; background: #e3fcef; min-height: 3em; display: flex; flex-direction: row; align-items: center; max-width: 60em;">
 
<div style="font-size: 2.5em; line-height: 1em; margin-right: 0.5rem;">ⓘ</div>
 
<div style="font-size: 2.5em; line-height: 1em; margin-right: 0.5rem;">ⓘ</div>
 
<div>This is the 'getting started' tutorial page. When you're done here, check the box on the right for more documentation!</div>
 
<div>This is the 'getting started' tutorial page. When you're done here, check the box on the right for more documentation!</div>
Line 9: Line 9:
  
 
===Warning===
 
===Warning===
<div style="border-radius: 3px; padding: 8px; background: #fffae6; min-height: 3em; display: flex; flex-direction: row; align-items: center;">
+
<div style="border-radius: 3px; padding: 8px; background: #fffae6; min-height: 3em; display: flex; flex-direction: row; align-items: center; max-width: 60em;">
 
<div style="font-size: 3em; line-height: 1em; margin-right: 0.5rem;">⚠</div>
 
<div style="font-size: 3em; line-height: 1em; margin-right: 0.5rem;">⚠</div>
 
<div>'''Make sure to [[Modding:Modder Guide/APIs/Manifest#Dependency|add the dependency to your manifest]]!'''<br />Otherwise players will get confusing errors if the other mod isn't installed, or if it gets loaded after your mod.</div>
 
<div>'''Make sure to [[Modding:Modder Guide/APIs/Manifest#Dependency|add the dependency to your manifest]]!'''<br />Otherwise players will get confusing errors if the other mod isn't installed, or if it gets loaded after your mod.</div>
Line 15: Line 15:
  
 
===Error===
 
===Error===
<div style="border-radius: 3px; padding: 8px; background: #ffebe6; min-height: 3em; display: flex; flex-direction: row; align-items: center;">
+
<div style="border-radius: 3px; padding: 8px; background: #ffebe6; min-height: 3em; display: flex; flex-direction: row; align-items: center; max-width: 60em;">
 
<div style="font-size: 3em; line-height: 1em; margin-right: 0.5rem; color: red;">🅧</div>
 
<div style="font-size: 3em; line-height: 1em; margin-right: 0.5rem; color: red;">🅧</div>
 
<div>'''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]].</div>
 
<div>'''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]].</div>
 
</div>
 
</div>

Revision as of 03:07, 30 April 2021

Callout templates

Just some draft template designs for modding tutorials.

Tip/info

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.