Difference between revisions of "Template:Executable name"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) (focus on exe files, add note about '.exe' sometimes not being shown) |
Pathoschild (talk | contribs) m (Pathoschild moved page Template:File name to Template:Executable name without leaving a redirect: update for new usage) |
Revision as of 18:15, 12 June 2022
[[File:{{{2}}}|20px]] {{{1}}}.exe
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}} |
[[File:{{{2}}}|20px]] install on Windows.exe
|