Jump to content

Modding:Mod compatibility/entry: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
make url optional
imported>Pathoschild
+ hide-url argument
Line 6: Line 6:
! compatibility</noinclude>
! compatibility</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:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}
| {{#if:{{{hide-url|}}}|{{{name}}}|{{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}}}}
| {{{author}}}
| {{{author}}}
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}<noinclude>
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}}<noinclude>
|}
|}
==Usage==
Basic fields:
<pre>{{/entry |name=Lookup Anything |author=Pathoschild |url=http://www.nexusmods.com/stardewvalley/mods/541 |status=ok |summary=use latest version }}</pre>
Other fields:
* <code>|hide-url=1</code> moves the URL into a superscript link.
[[Category:Modding]]</noinclude>
[[Category:Modding]]</noinclude>

Revision as of 22:59, 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:

  • |hide-url=1 moves the URL into a superscript link.