Difference between revisions of "Modding:Mod compatibility/entry"

From Stardew Valley Wiki
Jump to navigation Jump to search
(+ obsolete status)
(+ author alias field)
Line 8: Line 8:
 
|- style="{{#switch:{{{status}}} |ok=background: #9F9; |workaround=background: #FF9; |broken|soon|soon-official=background: #F99; |obsolete=background: #999}}"
 
|- style="{{#switch:{{{status}}} |ok=background: #9F9; |workaround=background: #FF9; |broken|soon|soon-official=background: #F99; |obsolete=background: #999}}"
 
| {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}
 
| {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}
| {{{author}}}
+
|style="line-height: 1em;" | {{{author}}}{{#if:{{{author2}}}|<br /><small style="font-size:0.75em;">(aka {{{author2}}})</small>}}
 
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |soon|soon-official=↻ |broken|obsolete=✖}} {{#if:{{{summary|}}}|{{{summary}}}|{{#switch:{{{status}}}|ok=use latest version. |broken=broken, not open-source. |soon=update coming soon. |soon-official=author will update it soon. }}}}
 
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |soon|soon-official=↻ |broken|obsolete=✖}} {{#if:{{{summary|}}}|{{{summary}}}|{{#switch:{{{status}}}|ok=use latest version. |broken=broken, not open-source. |soon=update coming soon. |soon-official=author will update it soon. }}}}
 
| {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}|&#32;[{{{hide-url}}} ᵒ]}}{{#if:{{{link1|}}}|&#32;[{{{link1}}} ¹]}}{{#if:{{{link2|}}}|&#32;[{{{link2}}} ²]}}<noinclude>
 
| {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}|&#32;[{{{hide-url}}} ᵒ]}}{{#if:{{{link1|}}}|&#32;[{{{link1}}} ¹]}}{{#if:{{{link2|}}}|&#32;[{{{link2}}} ²]}}<noinclude>
Line 59: Line 59:
  
 
Other fields:
 
Other fields:
 +
* <code>|author2=name</code> adds an also-known-as link for the author line (for authors whose usernames don't match their display names).
 
* <code>|hide-url=URL</code> (replacing <code>|url=</code>) moves the URL into a superscript link. Mainly useful for broken mods with a workaround, so players don't automatically click through to the old mod.
 
* <code>|hide-url=URL</code> (replacing <code>|url=</code>) moves the URL into a superscript link. Mainly useful for broken mods with a workaround, so players don't automatically click through to the old mod.
 
* <code>|link1=URL</code> and <code>|link2=URL</code> adds superscript links. Mainly useful for linking to pull requests.
 
* <code>|link1=URL</code> and <code>|link2=URL</code> adds superscript links. Mainly useful for linking to pull requests.
  
 
[[Category:Modding]]</noinclude>
 
[[Category:Modding]]</noinclude>

Revision as of 01:58, 16 July 2017

Usage

Basic fields:

{{/entry
  |name    = Lookup Anything
  |author  = Pathoschild
  |url     = http://www.nexusmods.com/stardewvalley/mods/541
  |status  = ok
  |summary = 
  |source  = https://github.com/Pathoschild/StardewMods
}}

Valid statuses:

status meaning default summary
ok The mod is compatible with SMAPI 2.0. use latest version.
workaround The mod isn't compatible with SMAPI 2.0, but the player can fix it or there's a good alternative.
soon The mod isn't compatible with SMAPI 2.0, but it's open-source so an unofficial update will be prepared soon (if the author doesn't update it first). update coming soon.
soon-official The mod isn't compatible with SMAPI 2.0, but the author has said they'll update it. author will update it soon.
broken The mod isn't compatible with SMAPI 2.0, isn't open-source, and there's no indication that the author will update it yet. broken, not open-source.
obsolete The mod is no longer needed and should be removed.

Other fields:

  • |author2=name adds an also-known-as link for the author line (for authors whose usernames don't match their display names).
  • |hide-url=URL (replacing |url=) moves the URL into a superscript link. Mainly useful for broken mods with a workaround, so players don't automatically click through to the old mod.
  • |link1=URL and |link2=URL adds superscript links. Mainly useful for linking to pull requests.