Modding:Mod compatibility/entry: Difference between revisions
Appearance
imported>Pathoschild m fix |
imported>Pathoschild automate "use latest version" summary for OK status if not specified, update example |
||
| Line 9: | Line 9: | ||
| {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}} | | {{#if:{{{url|}}}|[{{{url}}} {{{name}}}]|{{{name}}}}} | ||
| {{{author}}} | | {{{author}}} | ||
| {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{{summary}}} | | {{#switch:{{{status}}} |ok=✓ |workaround=⚠ |broken=✖}} {{#if:{{{summary|}}}|{{{summary}}}|{{#switch:{{{status}}}|ok=use latest version.}}}} | ||
| {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}| [{{{hide-url}}} ᵒ]}}{{#if:{{{link1|}}}| [{{{link1}}} ¹]}}{{#if:{{{link2|}}}| [{{{link2}}} ²]}}<noinclude> | | {{#if:{{{source|}}}|[{{{source}}} source]}}{{#if:{{{hide-url|}}}| [{{{hide-url}}} ᵒ]}}{{#if:{{{link1|}}}| [{{{link1}}} ¹]}}{{#if:{{{link2|}}}| [{{{link2}}} ²]}}<noinclude> | ||
|} | |} | ||
| Line 15: | Line 15: | ||
==Usage== | ==Usage== | ||
Basic fields: | Basic fields: | ||
<pre>{{/entry |name=Lookup Anything |author=Pathoschild |url=http://www.nexusmods.com/stardewvalley/mods/541 |status=ok |summary=use latest version }}</pre> | <pre> | ||
{{/entry | |||
|name = Lookup Anything | |||
|author = Pathoschild | |||
|url = http://www.nexusmods.com/stardewvalley/mods/541 | |||
|status = ok | |||
|summary = use latest version. | |||
|source = https://github.com/Pathoschild/StardewMods | |||
}} | |||
</pre> | |||
Other fields: | Other fields: | ||
* <code>|hide-url=URL</code> (replacing <code>|url=</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 17:45, 11 July 2017
| mod name | author | compatibility | |
|---|---|---|---|
| {{{name}}} | {{{author}}} |
Usage
Basic fields:
{{/entry
|name = Lookup Anything
|author = Pathoschild
|url = http://www.nexusmods.com/stardewvalley/mods/541
|status = ok
|summary = use latest version.
|source = https://github.com/Pathoschild/StardewMods
}}
Other fields:
|hide-url=URL(replacing|url=) moves the URL into a superscript link.|link1=URLand|link2=URLadds superscript links.