Template:Executable name: Difference between revisions
Appearance
imported>Pathoschild create page |
imported>Pathoschild fix doc formatting |
||
| Line 1: | Line 1: | ||
<code>{{#if:{{{2|}}}|[[File:{{{2}}}|20px]] }}{{{1}}}</code><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | <code>{{#if:{{{2|}}}|[[File:{{{2}}}|20px]] }}{{{1}}}</code><noinclude> | ||
{{{{FULLPAGENAME}}/doc}}</noinclude> | |||
Revision as of 17:51, 12 June 2022
{{{1}}}
Description
This template formats an executable file's name & icon for consistency in documentation pages.
Use
The template can be used by placing {{executable name|executable name without file extension|wiki icon name}} on the page. If the icon field is omitted, it'll be auto-populated if the name is Stardew Valley, StardewValley, or StardewModdingAPI.
For example:
You can also set a different executable file extension:
| code | result |
|---|---|
{{executable name|install on Windows|extension=bat}}
|
install on Windows
|