Changes

Jump to navigation Jump to search
replace 'links' and 'link labels' arguments with simpler 'pull request'
Line 81: Line 81:     
anchor-->[[#{{#arrayindex:names|0}}|#]] <!--
 
anchor-->[[#{{#arrayindex:names|0}}|#]] <!--
metadata links-->{{#if:{{{link labels|}}}|{{#arraydefine:labels_array|{{{link labels}}}}}}}{{#if:{{{links|}}}|&#32;{{#arraydefine:linkArray|{{{links}}}}}{{#arrayprint:linkArray|&#32;|@@@|[@@@ {{#if:{{#arrayindex:labels_array|{{#arraysearch:linkArray|@@@}}}}|{{#arrayindex:labels_array|{{#arraysearch:linkArray|@@@}}}}|{{#expr:{{#arraysearch:linkArray|@@@}} + 1}}}}]}}}} <!--
+
pull request-->{{#if:{{{pull request|}}}|&#32;[{{{pull request}}} PR]}} <!--
 
developer note-->{{#if:{{{dev note|}}}|<abbr title="{{{dev note|}}}">[dev note]</abbr>}}<!--
 
developer note-->{{#if:{{{dev note|}}}|<abbr title="{{{dev note|}}}">[dev note]</abbr>}}<!--
   Line 125: Line 125:  
   |github  = Pathoschild/StardewMods
 
   |github  = Pathoschild/StardewMods
 
   |summary  =  
 
   |summary  =  
 +
 
   |broke in = Stardew Valley 1.2
 
   |broke in = Stardew Valley 1.2
  |links    = https://github.com/Pathoschild/SMAPI/issues
  −
  |link labels = PR
   
}}
 
}}
 
</pre>
 
</pre>
Line 145: Line 144:  
   |github  = Pathoschild/StardewMods
 
   |github  = Pathoschild/StardewMods
 
   |summary  =  
 
   |summary  =  
 +
 
   |broke in = Stardew Valley 1.2
 
   |broke in = Stardew Valley 1.2
  |links    = https://github.com/Pathoschild/SMAPI/issues
  −
  |link labels = PR
   
}}
 
}}
 
|}
 
|}
    
===Unofficial update===
 
===Unofficial update===
For an unofficial update, use the broken-mod template and add these under the other fields:
+
For an unofficial update, use the broken-mod template and add these under <tt>broke in</tt>:
 
<pre>
 
<pre>
   |unofficial url    = https://community.playstarbound.com/attachments/201345000
+
   |unofficial url    = https://community.playstarbound.com/threads/updating-mods-for-stardew-valley-1-3.142524/page-62#post-3329160
 
   |unofficial version = 1.18.2-unofficial.1-example
 
   |unofficial version = 1.18.2-unofficial.1-example
 +
  |pull request      = https://github.com/Pathoschild/Example/pull/1
 
</pre>
 
</pre>
 
{| class="wikitable plainlinks"
 
{| class="wikitable plainlinks"
Line 172: Line 171:  
   |github  = Pathoschild/StardewMods
 
   |github  = Pathoschild/StardewMods
 
   |summary  =  
 
   |summary  =  
   |broke in = Stardew Valley 1.2
+
 
   |unofficial url    = https://community.playstarbound.com/attachments/201345000
+
   |broke in           = Stardew Valley 1.2
 +
   |unofficial url    = https://community.playstarbound.com/threads/updating-mods-for-stardew-valley-1-3.142524/page-62#post-3329160
 
   |unofficial version = 1.18.2-unofficial.1-example
 
   |unofficial version = 1.18.2-unofficial.1-example
 +
  |pull request      = https://github.com/Pathoschild/Example/pull/1
 
}}
 
}}
 
|}
 
|}
Line 225: Line 226:  
| <code>unofficial version</code>
 
| <code>unofficial version</code>
 
| The unofficial update's version number, if any.
 
| The unofficial update's version number, if any.
 +
|-
 +
| <code>pull request</code>
 +
| The URL of the pull request which submits changes for an unofficial update to the author, if any.
 
|-
 
|-
 
| <code>chucklefish id</code>
 
| <code>chucklefish id</code>
Line 243: Line 247:  
| <code>source</code>
 
| <code>source</code>
 
| An arbitrary source code URL, if not on GitHub. Avoid if possible, since this makes crossreferencing more difficult.
 
| An arbitrary source code URL, if not on GitHub. Avoid if possible, since this makes crossreferencing more difficult.
|-
  −
| <code>links</code>
  −
| A comma-delimited list of URLs to add as links in the metadata column. Mainly useful for linking to pull requests.
  −
|-
  −
| <code>link labels</code>
  −
| A comma-delimited list of link labels for the <code>links</code> URLs. If omitted, the links will be numbered instead.
   
|-
 
|-
 
| <code>warnings</code>
 
| <code>warnings</code>
translators
8,456

edits

Navigation menu