Difference between revisions of "Modding:Mod compatibility/entry"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (typo)
(add source URL argument, move to separate column)
Line 4: Line 4:
 
! mod name
 
! mod name
 
! author
 
! author
! compatibility</noinclude>
+
! compatibility
 +
! &nbsp;</noinclude>
 
|- style="{{#switch:{{{status}}} |ok=background: #9F9; |workaround=background: #FF9; |broken=background: #F99;}}"
 
|- style="{{#switch:{{{status}}} |ok=background: #9F9; |workaround=background: #FF9; |broken=background: #F99;}}"
 
| {{#if:{{{hide-url|}}}|{{{name}}}|{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}}}
 
| {{#if:{{{hide-url|}}}|{{{name}}}|{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}}}
 
| {{{author}}}
 
| {{{author}}}
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}{{#if:{{{hide-url|}}}|&#32;[{{{url}}} ᵒ]}}{{#if:{{{link1|}}}|&#32;[{{{link1}}} ¹]}}{{#if:{{{link2|}}}|&#32;[{{{link2}}} ²]}}<noinclude>
+
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}
 +
| {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}|&#32;[{{{url}}} ᵒ]}}{{#if:{{{link1|}}}|&#32;[{{{link1}}} ¹]}}{{#if:{{{link2|}}}|&#32;[{{{link2}}} ²]}}<noinclude>
 
|}
 
|}
  
Line 16: Line 18:
  
 
Other fields:
 
Other fields:
 +
* <code>|source=URL</code> adds a link to the source code.
 
* <code>|hide-url=1</code> moves the URL into a superscript link.
 
* <code>|hide-url=1</code> moves the URL into a superscript link.
* <code>|link1=</code> and <code>|link2=</code> adds superscript links.
+
* <code>|link1=URL</code> and <code>|link2=URL</code> adds superscript links.
  
 
[[Category:Modding]]</noinclude>
 
[[Category:Modding]]</noinclude>

Revision as of 23:21, 9 July 2017

Usage

Basic fields:

{{/entry |name=Lookup Anything |author=Pathoschild |url=http://www.nexusmods.com/stardewvalley/mods/541 |status=ok |summary=use latest version }}

Other fields:

  • |source=URL adds a link to the source code.
  • |hide-url=1 moves the URL into a superscript link.
  • |link1=URL and |link2=URL adds superscript links.