Line 6: |
Line 6: |
| ! compatibility | | ! compatibility |
| ! </noinclude> | | ! </noinclude> |
− | |- id="{{{name}}}" data-status="{{{status}}}" {{#if:{{{source|}}}|data-has-source}} style="line-height: 1em; {{#switch:{{{status}}} |ok=background: #9F9; |workaround=background: #CF9; |broken|soon|soon-official=background: #F99; |obsolete=background: #999}}" | + | |- id="{{{name}}}" data-status="{{{status|ok}}}" {{#if:{{{source|}}}|data-has-source}} style="line-height: 1em; {{#switch:{{{status|ok}}} |ok=background: #9F9; |workaround=background: #CF9; |broken|soon|soon-official=background: #F99; |obsolete=background: #999}}" |
| | {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}{{#if:{{{name2|}}}|<br /><small style="font-size:0.75em;">(aka {{{name2}}})</small>}} | | | {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}{{#if:{{{name2|}}}|<br /><small style="font-size:0.75em;">(aka {{{name2}}})</small>}} |
| | {{{author}}}{{#if:{{{author2|}}}|<br /><small style="font-size:0.75em;">(aka {{{author2}}})</small>}} | | | {{{author}}}{{#if:{{{author2|}}}|<br /><small style="font-size:0.75em;">(aka {{{author2}}})</small>}} |
− | | {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |soon|soon-official=↻ |broken|obsolete=✖}} {{#switch:{{{status}}} | + | | {{#switch:{{{status|ok}}} |ok=✓ |workaround=⚠ |soon|soon-official=↻ |broken|obsolete=✖}} {{#switch:{{{status|ok}}} |
| |ok = {{#if:{{{summary|}}}|{{{summary}}}|use latest version.}} | | |ok = {{#if:{{{summary|}}}|{{{summary}}}|use latest version.}} |
− | |#default = broke{{#if:{{{broke in|}}}| in {{{broke in}}}|n}}{{#if:{{{summary|}}}|, {{{summary}}}|{{#switch:{{{status}}}|broken={{#if:{{{source|}}}|, needs update from the author|, not open-source}}|soon=update coming soon|soon-official=author will update it soon}}.}} | + | |#default = broke{{#if:{{{broke in|}}}| in {{{broke in}}}|n}}{{#if:{{{summary|}}}|, {{{summary}}}|{{#switch:{{{status|ok}}}|broken={{#if:{{{source|}}}|, needs update from the author|, not open-source}}|soon=update coming soon|soon-official=author will update it soon}}.}} |
| }} | | }} |
| | {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}| [{{{hide-url}}} <sup>o</sup>]}}{{#if:{{{links|}}}| {{#arraydefine:linkArray|{{{links}}}}}{{#arrayprint:linkArray| |@@@@|<sup>[@@@@ {{#expr:{{#arraysearch:linkArray|@@@@}} + 1}}]</sup>}}}}<noinclude> | | | {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}| [{{{hide-url}}} <sup>o</sup>]}}{{#if:{{{links|}}}| {{#arraydefine:linkArray|{{{links}}}}}{{#arrayprint:linkArray| |@@@@|<sup>[@@@@ {{#expr:{{#arraysearch:linkArray|@@@@}} + 1}}]</sup>}}}}<noinclude> |
Line 17: |
Line 17: |
| | | |
| ==Usage== | | ==Usage== |
− | Basic fields:
| + | For a compatible mod: |
| <pre> | | <pre> |
| {{/entry | | {{/entry |
Line 23: |
Line 23: |
| |author = Pathoschild | | |author = Pathoschild |
| |url = http://www.nexusmods.com/stardewvalley/mods/541 | | |url = http://www.nexusmods.com/stardewvalley/mods/541 |
| + | |source = https://github.com/Pathoschild/StardewMods |
| + | }} |
| + | </pre> |
| + | |
| + | For a mod with a non-OK status: |
| + | <pre> |
| + | {{/entry |
| + | |name = Lookup Anything |
| + | |author = Pathoschild |
| + | |url = http://www.nexusmods.com/stardewvalley/mods/541 |
| + | |source = https://github.com/Pathoschild/StardewMods |
| |status = broken | | |status = broken |
| |summary = | | |summary = |
− | |source = https://github.com/Pathoschild/StardewMods
| |
| |broke in = Stardew Valley 1.2 | | |broke in = Stardew Valley 1.2 |
| + | |links = <!-- any comma-separated URLs to pull requests, discussions, etc --> |
| }} | | }} |
| </pre> | | </pre> |
Line 38: |
Line 49: |
| |- | | |- |
| | <code>ok</code> | | | <code>ok</code> |
− | | The mod is compatible with SMAPI 2.0. | + | | The mod is compatible. This is the default and doesn't need to be specified. |
| | ''use latest version.'' | | | ''use latest version.'' |
| |- | | |- |
| | <code>workaround</code> | | | <code>workaround</code> |
− | | The mod isn't compatible with SMAPI 2.0, but the player can fix it or there's a good alternative. | + | | The mod isn't compatible, but the player can fix it or there's a good alternative. |
| | | | | |
| |- | | |- |
| | <code>soon</code> | | | <code>soon</code> |
− | | 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). | + | | The mod isn't compatible, but it's open-source so an unofficial update will be prepared soon (if the author doesn't update it first). |
| | ''update coming soon.'' | | | ''update coming soon.'' |
| |- | | |- |
| | <code>soon-official</code> | | | <code>soon-official</code> |
− | | The mod isn't compatible with SMAPI 2.0, but the author has said they'll update it. | + | | The mod isn't compatible, but the author has said they'll update it. |
| | ''author will update it soon.'' | | | ''author will update it soon.'' |
| |- | | |- |
| | <code>broken</code> | | | <code>broken</code> |
− | | The mod isn't compatible with SMAPI 2.0, isn't open-source (or requires significant refactoring from the author), and there's no indication that the author will update it yet. | + | | The mod isn't compatible, isn't open-source (or requires significant refactoring from the author), and there's no indication that the author will update it yet. |
| | ''broken, not open-source.''<br />''broken, needs update from the author.'' | | | ''broken, not open-source.''<br />''broken, needs update from the author.'' |
| |- | | |- |