Line 45: |
Line 45: |
| -->{{#if:{{{unofficial version|}}}|data-unofficial-version="{{{unofficial version}}}"}} <!-- | | -->{{#if:{{{unofficial version|}}}|data-unofficial-version="{{{unofficial version}}}"}} <!-- |
| -->{{#if:{{{unofficial url|}}}|data-unofficial-url="{{#tag:nowiki|{{{unofficial url}}}}}"}} <!-- | | -->{{#if:{{{unofficial url|}}}|data-unofficial-url="{{#tag:nowiki|{{{unofficial url}}}}}"}} <!-- |
− | -->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}} | + | -->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}}<!-- |
| + | -->data-smapi-3-status="{{#switch:{{{3.0 ready|}}}|yes=ok |no=broken |#default={{#if:{{{3.0 ready|}}}|soon|unknown}}}}" |
| | {{#if:{{{nexus id|}}}|[{{nexus mod|{{{nexus id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{cf id|}}}|[https://community.playstarbound.com/resources/{{urlencode:{{{cf id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{moddrop id|}}}|[https://www.moddrop.com/sdv/mod/{{urlencode:{{{moddrop id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{url|}}}|[{{{url}}} {{#arrayindex:names|0}}]|{{#arrayindex:names|0}}}}}}}}}}{{#ifexpr:{{#arraysize:altNames}} > 0|<br /><small style="font-size:0.75em;">(aka {{#arrayprint:altNames|, |@@@|@@@}})</small>}} | | | {{#if:{{{nexus id|}}}|[{{nexus mod|{{{nexus id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{cf id|}}}|[https://community.playstarbound.com/resources/{{urlencode:{{{cf id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{moddrop id|}}}|[https://www.moddrop.com/sdv/mod/{{urlencode:{{{moddrop id}}}}} {{#arrayindex:names|0}}]|{{#if:{{{url|}}}|[{{{url}}} {{#arrayindex:names|0}}]|{{#arrayindex:names|0}}}}}}}}}}{{#ifexpr:{{#arraysize:altNames}} > 0|<br /><small style="font-size:0.75em;">(aka {{#arrayprint:altNames|, |@@@|@@@}})</small>}} |
| | {{#arrayindex:authors|0}}{{#ifexpr:{{#arraysize:altAuthors}} > 0|<br /><small style="font-size:0.75em;">(aka {{#arrayprint:altAuthors|, |@@@|@@@}})</small>}} | | | {{#arrayindex:authors|0}}{{#ifexpr:{{#arraysize:altAuthors}} > 0|<br /><small style="font-size:0.75em;">(aka {{#arrayprint:altAuthors|, |@@@|@@@}})</small>}} |
Line 62: |
Line 63: |
| | <small>{{{broke in|}}}</small> | | | <small>{{{broke in|}}}</small> |
| | {{#if:{{{github|}}}|[https://github.com/{{{github}}} source]|{{#if:{{{source|}}}|[{{{source}}} source]|<span style="color: red; font-size: 0.85em; opacity: 0.5;">closed source</span>}}}} | | | {{#if:{{{github|}}}|[https://github.com/{{{github}}} source]|{{#if:{{{source|}}}|[{{{source}}} source]|<span style="color: red; font-size: 0.85em; opacity: 0.5;">closed source</span>}}}} |
− | | <small>[[#{{#arrayindex:names|0}}|#]] {{#ifexpr:{{#arraysize:ids}} = 0|⚠ no id}}</small><noinclude> | + | | <small>[[#{{#arrayindex:names|0}}|#]] ({{#switch:{{{3.0 ready|}}}|yes=3.0 ✓ |no=3.0 ⚠ |#default={{#if:{{{3.0 ready|}}}|[{{{3.0 ready}}} 3.0 ↻]|3.0 ?}}}})</small><noinclude> |
| |} | | |} |
| | | |
Line 214: |
Line 215: |
| | <code>warnings</code> | | | <code>warnings</code> |
| | Text explaining additional compatibility warnings about the mod (e.g. not compatible with Linux/Mac). | | | Text explaining additional compatibility warnings about the mod (e.g. not compatible with Linux/Mac). |
| + | |- |
| + | | <code>3.0 ready</code> |
| + | | Whether the mod is compatible with the upcoming SMAPI 3.0. Possible values are <tt>yes</tt>, <tt>no</tt>, or a URL to a pull request. |
| |} | | |} |
| | | |