Difference between revisions of "Modding:Mod compatibility/entry"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) m (fix) |
Pathoschild (talk | contribs) (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=URL
and|link2=URL
adds superscript links.