Jump to content

Modding:Community/entry: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
add category
imported>Pathoschild
add example output to documentation
Line 1: Line 1:
<noinclude>
<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}}}}}"}}
{| 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}}}
| {{{sample mods}}}
Line 14: Line 5:
| {{#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>
| {{#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>}}</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]):
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 your Discord ID]):
<pre>
<pre>
{{/entry
{{/entry
Line 31: Line 21:
}}
}}
</pre>
</pre>
Which looks like this:
{| class="wikitable"
|-
! modder
! sample mods
! more mods
! GitHub
! Reddit
! mod types
{{Modding:Community/entry
|display name = Pathoschild
|discord name = Pathoschild#0001
|discord id  = 226803198218731520
|nexus id    = 1552317
|github id    = Pathoschild
|reddit name  = Pathoschild
|mod types    = SMAPI
|sample mods  = {{nexus mod|541|Lookup Anything}}, {{nexus mod|518|Chests Anywhere}}, {{nexus mod|1063|Automate}}.
}}
|}


Custom arguments:
Custom arguments:

Revision as of 15:57, 17 July 2020


Usage

Most modders should use this template (see how to get your Discord ID):

{{/entry
 |display name = Pathoschild
 |discord name = Pathoschild#0001
 |discord id   = 226803198218731520
 |nexus id     = 1552317
 |github id    = Pathoschild
 |reddit name  = Pathoschild
 |mod types    = SMAPI
 |sample mods  = {{nexus mod|541|Lookup Anything}}, {{nexus mod|518|Chests Anywhere}}, {{nexus mod|1063|Automate}}.
}}

Which looks like this:

modder sample mods more mods GitHub Reddit mod types
Pathoschild
Pathoschild#0001 on Discord
Lookup Anything, Chests Anywhere, Automate. Nexus GitHub u/Pathoschild
SMAPI

Custom arguments:

  • For modders not on Nexus, leave nexus id blank and add author url = URL HERE.
  • For modders whose source code (if any) isn't on GitHub, leave github id blank and add source url = URL HERE.