Changes

+ 'content pack for' field
Line 68: Line 68:  
-->}} <!--
 
-->}} <!--
 
-->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}} <!--
 
-->{{#ifexpr:{{#arraysize:warnings}} > 0|data-warnings="{{#arrayprint:warnings|, |@@@|@@@}}"}} <!--
-->data-smapi-3-status="{{#switch:{{#arrayindex:compat30|0}}|yes=ok |no=broken |#default={{#arrayindex:compat30|0}}}}" <!--
+
-->{{#if:{{{content pack for|}}}|data-content-pack-for="{{{content pack for}}}"|<!--
-->{{#if:{{#arrayindex:compat30|1}}|data-smapi-3-url="{{#tag:nowiki|{{#arrayindex:compat30|1}}}}"}}
+
  -->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 93: Line 95:  
| <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}}|#]] {{#switch:{{#arrayindex:vars|0}}|ok|optional|unofficial=({{#if:{{#arrayindex:compat30|1}}|[{{#arrayindex:compat30|1}} 3.0 {{#switch:{{#arrayindex:compat30|0}}|yes=✓ |no=⚠ |soon=↻|?}}]|3.0 {{#switch:{{#arrayindex:compat30|0}}|yes=✓ |no=⚠ |soon=↻|?}}}})}}</small><noinclude>
+
| class="no-wrap"|<small>[[#{{#arrayindex:names|0}}|#]] {{#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=↻|?}}]|3.0 {{#switch:{{#arrayindex:compat30|0}}|yes=✓ |no=⚠ |soon=↻|?}}}})}}}}</small><noinclude>
 
|}
 
|}
   Line 248: Line 250:  
| <code>3.0 ready</code>
 
| <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>.
 
| 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>
 +
| The name of the mod which loads this content pack. This disables SMAPI-only fields (like the 3.0 status).
 
|}
 
|}
  
translators
8,404

edits