Line 1: |
Line 1: |
− | <includeonly>|-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}}}}}"}} | + | <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}}}}}"}} |
| | {{{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|, |@@@@|@@@@}} |
| + | | {{#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| |@@@@|<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> | + | | <!-- |
| + | define mod types array-->{{#arraydefine:typesArray|{{{mod types|}}}}}<!-- |
| + | print types list-->{{#arrayprint:typesArray| |@@@@|<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== |
Line 16: |
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> |
Line 40: |
Line 47: |
| | 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). | | | 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 id</code> | + | | <code>nexus name</code> |
− | | Your unique user ID on [https://www.nexusmods.com/stardewvalley Nexus Mods] (if applicable). You can get it by clicking your username in the top-right corner, clicking ''My Profile'', and copying the number at the end of the URL. | + | | Your username on [https://www.nexusmods.com/stardewvalley Nexus Mods] (if applicable). |
| |- | | |- |
| | <code>github id</code> | | | <code>github id</code> |
Line 50: |
Line 57: |
| |- | | |- |
| | <code>mod types</code> | | | <code>mod types</code> |
− | | The mod types you've released. The possible types are <tt>SMAPI</tt> (C# mods), <tt>pixels</tt> (pixel art), and <tt>content</tt> (content packs). You can have multiple types (comma-delimited). | + | | 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 mods</code> | + | | <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. | + | | Links to up to three example mods you've released. You can choose any mods you want, and change them anytime. |
| |} | | |} |
| | | |
Line 64: |
Line 77: |
| |- | | |- |
| | <code>author url</code> | | | <code>author url</code> |
− | | A custom URL to your mod author page, if you're not on Nexus Mods. You should leave <code>nexus id</code> blank when using this. | + | | 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> | | | <code>source url</code> |