Template:Executable name
{{{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:
code | result |
---|---|
{{executable name|Stardew Valley|Stardew Valley executable icon.png}} |
File:Stardew Valley executable icon.png Stardew Valley.exe
|
{{executable name|Stardew Valley}} |
File:Stardew Valley executable icon.png Stardew Valley.exe
|
{{executable name|StardewModdingAPI}} |
File:SMAPI mascot.png StardewModdingAPI.exe
|
You can also set a different executable file extension:
code | result |
---|---|
{{executable name|install on Windows|extension=bat}} |
install on Windows.bat
|
de:Vorlage:Executable name
es:Plantilla:Executable name
fr:Modèle:Executable name
it:Template:Executable name
ja:テンプレート:Executable name
ko:틀:Executable name
hu:Sablon:Executable name
pt:Predefinição:Executable name
ru:Шаблон:Executable name
tr:Şablon:Executable name
zh:Template:Executable name