Line 8: |
Line 8: |
| ! source | | ! source |
| ! </noinclude> | | ! </noinclude> |
− | |- id="{{{name}}}" {{#if:{{{nexus id|}}}|data-nexus-id="{{{nexus id|}}}"}} {{#if:{{{cf id|}}}|chucklefish-id="{{{cf id|}}}"}} data-status="{{{status|ok}}}" {{#if:{{{unofficial version|}}}|data-unofficial-version="{{{unofficial version}}}"}} {{#if:{{{github|}}}|data-github="{{{github}}}"}} {{#if:{{{source|}}}|data-custom-source="{{{source|}}}"}} style="line-height: 1em; {{#switch:{{{status|ok}}} |ok|optional=background: #9F9; |workaround=background: #CF9; |broken={{#if:{{{unofficial url|}}}|background: #CF9;|background: #F99;}} |obsolete|abandoned=background: #999}}" | + | |- id="{{{name}}}" {{#if:{{{nexus id|}}}|data-nexus-id="{{{nexus id|}}}"}} {{#if:{{{cf id|}}}|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|}}}"}} 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}}" |
| | {{#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>}} |
− | | {{#switch:{{{status|ok}}} |ok|optional=✓ |workaround=⚠ |broken={{#if:{{{#github|{{{source|}}}}}}|↻{{#if:{{{unofficial version|}}}|⚠|✖}}}} |obsolete|abandoned=✖}} {{#switch:{{{status|ok}}} | + | | {{#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}}}}}}} |
| |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|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|}}}|workaround|{{#if:{{{broke in|}}}|broken|ok}}}}}}}|broken={{#if:{{{github|{{{source|}}}}}}|, not updated yet|, not open-source}}}}.}}}} |
| }} | | }} |
| | <small>{{{broke in|}}}</small> | | | <small>{{{broke in|}}}</small> |
Line 42: |
Line 42: |
| |nexus id = 541 | | |nexus id = 541 |
| |github = Pathoschild/StardewMods | | |github = Pathoschild/StardewMods |
− | |status = broken
| |
| |summary = | | |summary = |
| |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 54: |
Line 52: |
| |unofficial version = 1.18.2-unofficial.1-example | | |unofficial version = 1.18.2-unofficial.1-example |
| </pre> | | </pre> |
| + | |
| + | ===Other fields=== |
| + | {| class="wikitable" |
| + | |- |
| + | ! field |
| + | ! purpose |
| + | |- |
| + | | <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>. |
| + | |- |
| + | | <code>cf id</code> |
| + | | The mod's ID in the Chucklefish mod repository. |
| + | |- |
| + | | <code>url</code> |
| + | | The arbitrary mod URL, if not on Nexus or Chucklefish. Avoid if possible, since this makes crossreferencing more difficult. |
| + | |- |
| + | | <code>source url</code> |
| + | | An arbitrary source code URL, if not on GitHub. Avoid if possible, since this makes crossreferencing more difficult. |
| + | |- |
| + | | <code>name2</code><br /><code>author2</code> |
| + | | Adds alternate mod and author names. |
| + | |- |
| + | | <code>hide-url</code> |
| + | | Use this instead of (<code>url</code>) to move it into a superscript link. Mainly useful for broken mods with a workaround, so players don't automatically click through to the old mod. |
| + | |- |
| + | | <code>links</code> |
| + | | A comma-delimited list of URLs to add as superscript links. Mainly useful for linking to pull requests. |
| + | |} |
| + | |
| | | |
| ===Valid statuses=== | | ===Valid statuses=== |
Line 78: |
Line 105: |
| | <code>obsolete</code> | | | <code>obsolete</code> |
| | The mod is no longer needed and should be removed. | | | The mod is no longer needed and should be removed. |
− | |}
| |
− |
| |
− | ===Other fields===
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! field
| |
− | ! purpose
| |
− | |-
| |
− | | <code>cf id</code>
| |
− | | The mod's ID in the Chucklefish mod repository.
| |
− | |-
| |
− | | <code>url</code>
| |
− | | The arbitrary mod URL, if not on Nexus or Chucklefish. Avoid if possible, since this makes crossreferencing more difficult.
| |
− | |-
| |
− | | <code>source url</code>
| |
− | | An arbitrary source code URL, if not on GitHub. Avoid if possible, since this makes crossreferencing more difficult.
| |
− | |-
| |
− | | <code>name2</code><br /><code>author2</code>
| |
− | | Adds alternate mod and author names.
| |
− | |-
| |
− | | <code>hide-url</code>
| |
− | | Use this instead of (<code>url</code>) to move it into a superscript link. Mainly useful for broken mods with a workaround, so players don't automatically click through to the old mod.
| |
− | |-
| |
− | | <code>links</code>
| |
− | | A comma-delimited list of URLs to add as superscript links. Mainly useful for linking to pull requests.
| |
| |} | | |} |
| | | |