Changes

Jump to navigation Jump to search
remove '3.0 ready' field, no longer needed
Line 33: Line 33:  
-->{{#arraydefine:ids|{{{id|}}}}}<!--
 
-->{{#arraydefine:ids|{{{id|}}}}}<!--
 
-->{{#arraydefine:warnings|{{{warnings|}}}}}<!--
 
-->{{#arraydefine:warnings|{{{warnings|}}}}}<!--
  −
Parse 3.0 status:
  −
  {{#arrayindex:compat30|0}} = 3.0 status
  −
  {{#arrayindex:compat30|1}} = pull request URL (if any)
  −
  −
-->{{#if:{{{3.0 ready|}}}
  −
  |{{#arraydefine:compat30|{{{3.0 ready}}}}}{{#switch:{{#arrayindex:compat30|0}}|yes|no|soon=|{{#arraydefine:compat30|soon,{{#arrayindex:compat30|0}}}}}}
  −
  |{{#arraydefine:compat30|unknown}}
  −
}}<!--
      
Build output
 
Build output
Line 68: Line 59:  
-->}} <!--
 
-->}} <!--
 
-->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}} <!--
 
-->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}} <!--
-->{{#if:{{{content pack for|}}}|data-content-pack-for="{{{content pack for}}}"|<!--
+
-->{{#if:{{{content pack for|}}}|data-content-pack-for="{{{content pack for}}}"}}
  -->data-smapi-3-status="{{#switch:{{#arrayindex:compat30|0}}|yes=ok |no=broken |#default={{#arrayindex:compat30|0}}}}" <!--
  −
  -->{{#if:{{#arrayindex:compat30|1}}|data-smapi-3-url="{{#tag:nowiki|{{#arrayindex:compat30|1}}}}"}}<!--
  −
-->}}
   
| {{#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 95: Line 83:  
| <small>{{#if:{{{beta broke in|}}}|{{{beta broke in}}}|{{{broke in|}}}}}</small>
 
| <small>{{#if:{{{beta broke in|}}}|{{{beta broke in}}}|{{{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>}}}}
| class="no-wrap"|<small>[[#{{#arrayindex:names|0}}|#]] {{#if:{{{link labels|}}}|{{#arraydefine:labelsArray|{{{link labels}}}}}}}{{#if:{{{links|}}}|&#32;{{#arraydefine:linkArray|{{{links}}}}}{{#arrayprint:linkArray|&#32;|@@@|[@@@ {{#if:{{#arrayindex:labelsArray|{{#arraysearch:linkArray|@@@}}}}|{{#arrayindex:labelsArray|{{#arraysearch:linkArray|@@@}}}}|{{#expr:{{#arraysearch:linkArray|@@@}} + 1}}}}]}}}} {{#if:{{{content pack for|}}}||{{#switch:{{#arrayindex:vars|0}}|ok|optional|unofficial={{#if:{{#arrayindex:compat30|1}}|([{{#arrayindex:compat30|1}} 3.0 {{#switch:{{#arrayindex:compat30|0}}|yes=✓ |no=⚠ |soon=↻|?}}])}}}}}}</small><noinclude>
+
| class="no-wrap"|<small>[[#{{#arrayindex:names|0}}|#]] {{#if:{{{link labels|}}}|{{#arraydefine:labelsArray|{{{link labels}}}}}}}{{#if:{{{links|}}}|&#32;{{#arraydefine:linkArray|{{{links}}}}}{{#arrayprint:linkArray|&#32;|@@@|[@@@ {{#if:{{#arrayindex:labelsArray|{{#arraysearch:linkArray|@@@}}}}|{{#arrayindex:labelsArray|{{#arraysearch:linkArray|@@@}}}}|{{#expr:{{#arraysearch:linkArray|@@@}} + 1}}}}]}}}}</small><noinclude>
 
|}
 
|}
   Line 157: Line 145:  
   |summary  =  
 
   |summary  =  
 
   |broke in = Stardew Valley 1.2
 
   |broke in = Stardew Valley 1.2
   |links    = https://github.com/Pathoschild/SMAPI
+
   |links    = https://github.com/Pathoschild/SMAPI/issues
 
   |link labels = PR
 
   |link labels = PR
 
}}
 
}}
Line 257: Line 245:  
| <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. For unofficial updates with an open pull request, you can mark it 3.0-ready with a pull request URL like <tt>yes, URL</tt>.
   
|-
 
|-
 
| <code>content pack for</code>
 
| <code>content pack for</code>
| The name of the mod which loads this content pack. This disables SMAPI-only fields (like the 3.0 status).
+
| The name of the mod which loads this content pack.
 
|}
 
|}
  
translators
8,447

edits

Navigation menu