Changes

Jump to navigation Jump to search
→‎Usage: + 'tools' mod type
Line 1: Line 1: −
<noinclude>
+
<includeonly>|- style="vertical-align: top;" data-display-name="{{{display name|}}}" data-discord-id="{{{discord id|}}}" data-discord-name="{{{discord name|}}}" data-nexus-name="{{{nexus name|}}}" data-github-id="{{{github id|}}}" data-reddit-name="{{{reddit name|}}}" {{#if:{{{author url|}}}|data-custom-author-url="{{#tag:nowiki|{{{author url}}}}}"}} {{#if:{{{source url|}}}|data-custom-source-url="{{#tag:nowiki|{{{source url}}}}}"}}
{| class="wikitable"
  −
|-
  −
! modder
  −
! sample mods
  −
! more mods
  −
! source code
  −
! Reddit
  −
! mod types</noinclude>
  −
|-valign="top" data-display-name="{{{display name|}}}" data-discord-id="{{{discord id|}}}" data-discord-name="{{{discord name|}}}" data-nexus-id="{{{nexus id|}}}" data-github-id="{{{github id|}}}" {{#if:{{{author url|}}}|data-custom-author-url="{{#tag:nowiki|{{{author url}}}}}"}} {{#if:{{{source url|}}}|data-custom-source-url="{{#tag:nowiki|{{{source url}}}}}"}}
   
| {{{display name}}}<br /><small style="font-size:0.75em;">{{{discord name}}} on Discord</small>
 
| {{{display name}}}<br /><small style="font-size:0.75em;">{{{discord name}}} on Discord</small>
| {{{sample mods}}}
+
| <!--
| {{#if:{{{nexus id|}}}|{{nexus author|{{{nexus id}}}|Nexus}}|{{{author url|}}}}}
+
define sample mods array-->{{#arraydefine:modsArray|{{{sample mod 1|}}}%%%{{{sample mod 2|}}}%%%{{{sample mod 3|}}}|%%%}}<!--
 +
ignore empty entries-->{{#arraysearcharray:modsArray|modsArray|/\S/}}<!--
 +
print mod list-->{{#arrayprint:modsArray|,&#32;|@@@@|@@@@}}
 +
| {{#if:{{{nexus name|}}}|{{nexus author|{{{nexus name}}}|Nexus}}|{{{author url|}}}}}
 
| {{#if:{{{github id|}}}|{{github|{{{github id}}}|GitHub}}|{{{source url|}}}}}
 
| {{#if:{{{github id|}}}|{{github|{{{github id}}}|GitHub}}|{{{source url|}}}}}
 
| {{#if:{{{reddit name|}}}|<small>[https://www.reddit.com/user/{{urlencode:{{{reddit name}}}}} u/{{{reddit name}}}]</small>}}
 
| {{#if:{{{reddit name|}}}|<small>[https://www.reddit.com/user/{{urlencode:{{{reddit name}}}}} u/{{{reddit name}}}]</small>}}
| {{#arraydefine:typesArray|{{{mod types|}}}}}{{#arrayprint:typesArray|&#32;|@@@@|<div style="display: inline-block; border: 1px solid rgba(46, 191, 108, 0.6); border-radius: 11px; margin-right: 3px; padding: 2px 4px;"><small>@@@@</small></div>}}<noinclude>
+
| <!--
|}
+
define mod types array-->{{#arraydefine:typesArray|{{{mod types|}}}}}<!--
 +
print types list-->{{#arrayprint:typesArray|&#32;|@@@@|<div style="display: inline-block; border: 1px solid rgba(46, 191, 108, 0.6); border-radius: 11px; margin-right: 3px; padding: 2px 4px;"><small>@@@@</small></div>}}</includeonly><noinclude>
    
==Usage==
 
==Usage==
Most modders should use this template (see [https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID- how to get a user's Discord ID]):
+
'''Before adding yourself to the table, you must be level 25 on the [[Modding:Community|Stardew Valley Discord]] and request the role there first.'''
 +
 
 +
To add an entry, copy & paste this template into the table (sorted by display name):
 
<pre>
 
<pre>
 
{{/entry
 
{{/entry
Line 24: Line 21:  
  |discord name = Pathoschild#0001
 
  |discord name = Pathoschild#0001
 
  |discord id  = 226803198218731520
 
  |discord id  = 226803198218731520
  |nexus id    = 1552317
+
  |nexus name  = Pathoschild
 
  |github id    = Pathoschild
 
  |github id    = Pathoschild
 
  |reddit name  = Pathoschild
 
  |reddit name  = Pathoschild
 
  |mod types    = SMAPI
 
  |mod types    = SMAPI
  |sample mods  = {{nexus mod|541|Lookup Anything}}, {{nexus mod|518|Chests Anywhere}}, {{nexus mod|1063|Automate}}.
+
  |sample mod 1 = {{nexus mod|541|Lookup Anything}}
 +
|sample mod 2 = {{nexus mod|518|Chests Anywhere}}
 +
|sample mod 3 = {{nexus mod|1063|Automate}}
 
}}
 
}}
 
</pre>
 
</pre>
   −
Custom arguments:
+
Standard fields:
* For modders not on Nexus, leave <code>nexus id</code> blank and add <code>author url = URL HERE</code>.
+
 
* For modders whose source code (if any) isn't on GitHub, leave <code>github id</code> blank and add <code>source url = URL HERE</code>.
+
{| class="wikitable"
 +
|-
 +
! field
 +
! description
 +
|-
 +
| <code>display name</code>
 +
| The name you're most commonly known as. This usually matches your Nexus and/or Discord name.
 +
|-
 +
| <code>discord name</code>
 +
| Your username on Discord, including the numbers. You can click your name in the bottom-left corner of Discord to copy it.
 +
|-
 +
| <code>discord id</code>
 +
| Your unique user ID. See [https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID- how to get your Discord ID] (or we can provide it when you request the role on Discord).
 +
|-
 +
| <code>nexus name</code>
 +
| Your username on [https://www.nexusmods.com/stardewvalley Nexus Mods] (if applicable).
 +
|-
 +
| <code>github id</code>
 +
| Your username on [https://github.com GitHub] (if applicable).
 +
|-
 +
| <code>reddit name</code>
 +
| Your username on [https://www.reddit.com/r/StardewValley Reddit] (if applicable).
 +
|-
 +
| <code>mod types</code>
 +
| The mod types you've released. The possible types are:
 +
* <samp>SMAPI</samp> (C# mods);
 +
* <samp>pixels</samp> (pixel art);
 +
* <samp>content</samp> (content packs);
 +
* <samp>tools</samp> (tools and scripts outside the game, like websites).
 +
 
 +
You can have multiple types (comma-delimited).
 +
|-
 +
| <code>sample mod 1</code><br /><code>sample mod 2</code><br /><code>sample mod 3</code>
 +
| Links to up to three example mods you've released. You can choose any mods you want, and change them anytime.
 +
|}
 +
 
 +
Uncommon fields:
 +
 
 +
{| class="wikitable"
 +
|-
 +
! field
 +
! description
 +
|-
 +
| <code>author url</code>
 +
| A custom URL to your mod author page, if you're not on Nexus Mods. You should leave <code>nexus name</code> blank when using this.
 +
|-
 +
| <code>source url</code>
 +
| A custom URL to your source code (if any), if it's not on GitHub. You should leave <code>github id</code> blank when using this.
 +
|}
 +
 
 +
[[Category:Modding]]
    +
[[ru:Модификации:Сообщество/entry]]
 
</noinclude>
 
</noinclude>
translators
8,437

edits

Navigation menu