Difference between revisions of "Modding:Community/entry"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (update CSS) |
Pathoschild (talk | contribs) (split 'sample mods' into individual fields (to better self-document the three-mod limit and improve markup readability)) |
||
Line 1: | Line 1: | ||
<includeonly>|- style="vertical-align: 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-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 | + | | <!-- |
+ | 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 id|}}}|{{nexus author|{{{nexus id}}}|Nexus}}|{{{author url|}}}}} | | {{#if:{{{nexus id|}}}|{{nexus author|{{{nexus id}}}|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 20: | Line 25: | ||
|reddit name = Pathoschild | |reddit name = Pathoschild | ||
|mod types = SMAPI | |mod types = SMAPI | ||
− | |sample | + | |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 52: | Line 59: | ||
| The mod types you've released. The possible types are <samp>SMAPI</samp> (C# mods), <samp>pixels</samp> (pixel art), and <samp>content</samp> (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), and <samp>content</samp> (content packs). You can have multiple types (comma-delimited). | ||
|- | |- | ||
− | | <code>sample | + | | <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. |
|} | |} | ||
Revision as of 21:36, 20 March 2022
Usage
Before adding yourself to the table, you must be level 25 on the Stardew Valley Discord and request the role there first.
To add an entry, copy & paste this template into the table (sorted by display name):
{{/entry |display name = Pathoschild |discord name = Pathoschild#0001 |discord id = 226803198218731520 |nexus id = 1552317 |github id = Pathoschild |reddit name = Pathoschild |mod types = SMAPI |sample mod 1 = {{nexus mod|541|Lookup Anything}} |sample mod 2 = {{nexus mod|518|Chests Anywhere}} |sample mod 3 = {{nexus mod|1063|Automate}} }}
Standard fields:
field | description |
---|---|
display name
|
The name you're most commonly known as. This usually matches your Nexus and/or Discord name. |
discord name
|
Your username on Discord, including the numbers. You can click your name in the bottom-left corner of Discord to copy it. |
discord id
|
Your unique user ID. See how to get your Discord ID (or we can provide it when you request the role on Discord). |
nexus id
|
Your unique user ID on 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. |
github id
|
Your username on GitHub (if applicable). |
reddit name
|
Your username on Reddit (if applicable). |
mod types
|
The mod types you've released. The possible types are SMAPI (C# mods), pixels (pixel art), and content (content packs). You can have multiple types (comma-delimited). |
sample mod 1 sample mod 2 sample mod 3
|
Links to up to three example mods you've released. You can choose any mods you want, and change them anytime. |
Uncommon fields:
field | description |
---|---|
author url
|
A custom URL to your mod author page, if you're not on Nexus Mods. You should leave nexus id blank when using this.
|
source url
|
A custom URL to your source code (if any), if it's not on GitHub. You should leave github id blank when using this.
|