Jump to content

Modding:Mod compatibility/entry: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
add source URL argument, move to separate column
imported>Pathoschild
simplify hide-url usage
Line 7: Line 7:
! &nbsp;</noinclude>
! &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:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}
| {{{author}}}
| {{{author}}}
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}
Line 19: Line 19:
Other fields:
Other fields:
* <code>|source=URL</code> adds a link to the source code.
* <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=URL</code> (replacing <code>|url=</code>) moves the URL into a superscript link.
* <code>|link1=URL</code> and <code>|link2=URL</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:30, 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=URL (replacing |url=) moves the URL into a superscript link.
  • |link1=URL and |link2=URL adds superscript links.