Line 8: |
Line 8: |
| ! source | | ! source |
| ! </noinclude> | | ! </noinclude> |
− | |- class="mod" id="{{{name}}}" {{#if:{{{id|}}}|data-id="{{#ifeq:{{{id}}}|none||{{{id|}}}}}"}} {{#if:{{{nexus id|}}}|data-nexus-id="{{{nexus id|}}}"}} {{#if:{{{cf id|}}}|data-chucklefish-id="{{{cf id|}}}"}} data-status="{{{status|{{#if:{{{unofficial url|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}}" {{#if:{{{unofficial version|}}}|data-unofficial-version="{{{unofficial version}}}"}} {{#if:{{{github|}}}|data-github="{{{github}}}"}} {{#if:{{{source|}}}|data-custom-source="{{{source|}}}"}} {{#if:{{{url|}}}|data-custom-url="{{{url}}}"}} style="line-height: 1em; {{#switch:{{{status|{{#if:{{{unofficial url|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}} |ok|optional=background: #9F9; |workaround=background: #CF9; |broken={{#if:{{{unofficial url|}}}|background: #CF9;|background: #F99;}} |obsolete|abandoned=background: #999}}" | + | |- class="mod" id="{{{name}}}" {{#if:{{{id|}}}|data-id="{{#ifeq:{{{id}}}|none||{{{id|}}}}}"}} {{#if:{{{nexus id|}}}|data-nexus-id="{{{nexus id|}}}"}} {{#if:{{{cf id|}}}|data-chucklefish-id="{{{cf id|}}}"}} data-status="{{{status|{{#if:{{{unofficial url|}}}|unofficial|{{#if:{{{broke in|}}}|broken|ok}}}}}}}" {{#if:{{{unofficial version|}}}|data-unofficial-version="{{{unofficial version}}}"}} {{#if:{{{github|}}}|data-github="{{{github}}}"}} {{#if:{{{source|}}}|data-custom-source="{{{source|}}}"}} {{#if:{{{url|}}}|data-custom-url="{{{url}}}"}} style="line-height: 1em; {{#switch:{{{status|{{#if:{{{unofficial url|}}}|unofficial|{{#if:{{{broke in|}}}|broken|ok}}}}}}} |ok|optional=background: #9F9; |workaround|unofficial=background: #CF9; |broken={{#if:{{{unofficial url|}}}|background: #CF9;|background: #F99;}} |obsolete|abandoned=background: #999}}" |
| | {{#if:{{{nexus id|}}}|[{{nexus mod|{{{nexus id}}} {{{name|}}}]}}|{{#if:{{{cf id|}}}|[https://community.playstarbound.com/resources/{{urlencode:{{{cf id}}}}} {{{name}}}]|{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}}}}}{{#if:{{{name2|}}}|<br /><small style="font-size:0.75em;">(aka {{{name2}}})</small>}} | | | {{#if:{{{nexus id|}}}|[{{nexus mod|{{{nexus id}}} {{{name|}}}]}}|{{#if:{{{cf id|}}}|[https://community.playstarbound.com/resources/{{urlencode:{{{cf id}}}}} {{{name}}}]|{{#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>}} |
− | |class="summary"| {{#switch:{{{status|{{#if:{{{unofficial url|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}} |ok|optional=✓ |workaround=⚠ |broken={{#if:{{{github|{{{source|}}}}}}|↻|{{#if:{{{unofficial version|}}}|⚠|✖}}}} |obsolete|abandoned=✖}} {{#switch:{{{status|{{#if:{{{unofficial url|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}} | + | |class="summary"| {{#switch:{{{status|{{#if:{{{unofficial url|}}}|unofficial|{{#if:{{{broke in|}}}|broken|ok}}}}}}} |ok|optional=✓ |workaround|unofficial=⚠ |broken={{#if:{{{github|{{{source|}}}}}}|↻|{{#if:{{{unofficial version|}}}|⚠|✖}}}} |obsolete|abandoned=✖}} {{#switch:{{{status|{{#if:{{{unofficial url|}}}|unofficial|{{#if:{{{broke in|}}}|broken|ok}}}}}}} |
| |ok = {{#if:{{{summary|}}}|{{{summary}}}|use latest version.}} | | |ok = {{#if:{{{summary|}}}|{{{summary}}}|use latest version.}} |
| |optional = {{#if:{{{summary|}}}|{{{summary}}}|use optional download<ref name="optional-update" />.}} | | |optional = {{#if:{{{summary|}}}|{{{summary}}}|use optional download<ref name="optional-update" />.}} |
| |obsolete = {{#if:{{{summary|}}}|{{{summary}}}|obsolete.}} | | |obsolete = {{#if:{{{summary|}}}|{{{summary}}}|obsolete.}} |
| |abandoned = {{#if:{{{summary|}}}|{{{summary}}}|no longer maintained.}} | | |abandoned = {{#if:{{{summary|}}}|{{{summary}}}|no longer maintained.}} |
− | |#default = broken{{#if:{{{unofficial url|}}}|, use [{{{unofficial url}}} unofficial update]{{#if:{{{unofficial version|}}}| (<small>{{{unofficial version}}}</small>)}}.|{{#if:{{{summary|}}}|, {{{summary}}}|{{#switch:{{{status|{{#if:{{{unofficial url|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}}|broken={{#if:{{{github|{{{source|}}}}}}|, not updated yet|, not open-source}}}}.}}}} | + | |#default = broken{{#if:{{{unofficial url|}}}|, use [{{{unofficial url}}} unofficial update]{{#if:{{{unofficial version|}}}| (<small>{{{unofficial version}}}</small>)}}.|{{#if:{{{summary|}}}|, {{{summary}}}|{{#switch:{{{status|{{#if:{{{unofficial url|}}}|unofficial|{{#if:{{{broke in|}}}|broken|ok}}}}}}}|broken={{#if:{{{github|{{{source|}}}}}}|, not updated yet|, not open-source}}}}.}}}} |
| }} | | }} |
| | <small>{{{broke in|}}}</small> | | | <small>{{{broke in|}}}</small> |
Line 90: |
Line 90: |
| |- | | |- |
| | <code>status</code> | | | <code>status</code> |
− | | Whether the mod is compatible with the latest versions of Stardew Valley and SMAPI (see [[#Valid statuses]]). If not specified, it defaults to <code>workaround</code> if an unofficial URL is given, else <code>broken</code> if <code>broke in</code> is specified, else <code>ok</code>. | + | | Whether the mod is compatible with the latest versions of Stardew Valley and SMAPI (see [[#Valid statuses]]). If not specified, it defaults to <code>unofficial</code> if an unofficial URL is given, else <code>broken</code> if <code>broke in</code> is specified, else <code>ok</code>. |
| |- | | |- |
| | <code>cf id</code> | | | <code>cf id</code> |
Line 123: |
Line 123: |
| | <code>optional</code> | | | <code>optional</code> |
| | The mod is compatible, if you use an optional download on the mod page.<br />Default summary: ''use optional download.<sup>[[#footnote|[1]]]</sup>'' | | | The mod is compatible, if you use an optional download on the mod page.<br />Default summary: ''use optional download.<sup>[[#footnote|[1]]]</sup>'' |
| + | |- |
| + | | <code>unofficial</code> |
| + | | The mod is compatible using an unofficial update. There's no need to specify this; if you also set <tt>unofficial url</tt> and <tt>unofficial version</tt>, you can remove the status field. |
| |- | | |- |
| | <code>workaround</code> | | | <code>workaround</code> |
− | | The mod isn't compatible, but the player can fix it or there's a good alternative. A summary should be provided manually. If you also set <tt>unofficial url</tt> and <tt>unofficial version</tt>, you can set this to broken instead. | + | | The mod isn't compatible, but the player can fix it or there's a good alternative. A summary should be provided manually. If you also set <tt>unofficial url</tt> and <tt>unofficial version</tt>, you can remove the status field. |
| |- | | |- |
| | <code>broken</code> | | | <code>broken</code> |