Difference between revisions of "Modding:Community/entry"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) (tweak Discord line, add Discord ID) |
Pathoschild (talk | contribs) (use more machine-readable data) |
||
Line 7: | Line 7: | ||
! source code | ! source code | ||
! mod types</noinclude> | ! mod types</noinclude> | ||
− | |-valign="top" | + | |-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.7em;" data-discord-id="{{{discord id}}}">{{{discord name}}} on Discord</small> | | {{{display name}}}<br /><small style="font-size:0.7em;" data-discord-id="{{{discord id}}}">{{{discord name}}} on Discord</small> | ||
| {{{sample mods}}} | | {{{sample mods}}} | ||
− | | {{{ | + | | {{#if:{{{nexus id|}}}|{{nexus author|{{{nexus id}}}|Nexus}}|{{{author url}}}}} |
− | | {{{source}}} | + | | {{#if:{{{github id|}}}|{{github|{{{github id}}}|GitHub}}|{{{source url}}}}} |
| {{#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>}}<noinclude> | | {{#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>}}<noinclude> | ||
|} | |} | ||
+ | |||
+ | ==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]): | ||
+ | <pre> | ||
+ | {{/entry | ||
+ | |display name = Pathoschild | ||
+ | |discord name = Pathoschild#0001 | ||
+ | |discord id = 226803198218731520 | ||
+ | |nexus id = 1552317 | ||
+ | |github id = Pathoschild | ||
+ | |mod types = SMAPI | ||
+ | |sample mods = {{nexus mod|541|Lookup Anything}}, {{nexus mod|518|Chests Anywhere}}, {{nexus mod|1063|Automate}}. | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Custom arguments: | ||
+ | * 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>. | ||
+ | |||
</noinclude> | </noinclude> |
Revision as of 17:16, 30 November 2019
modder | sample mods | more mods | source code | mod types |
---|---|---|---|---|
{{{display name}}} {{{discord name}}} on Discord |
{{{sample mods}}} | {{{author url}}} | {{{source url}}} |
Usage
Most modders should use this template (see how to get a user's Discord ID):
{{/entry |display name = Pathoschild |discord name = Pathoschild#0001 |discord id = 226803198218731520 |nexus id = 1552317 |github id = Pathoschild |mod types = SMAPI |sample mods = {{nexus mod|541|Lookup Anything}}, {{nexus mod|518|Chests Anywhere}}, {{nexus mod|1063|Automate}}. }}
Custom arguments:
- For modders not on Nexus, leave
nexus id
blank and addauthor url = URL HERE
. - For modders whose source code (if any) isn't on GitHub, leave
github id
blank and addsource url = URL HERE
.