Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox software/doc: Difference between revisions

Template page
(add developers to example, change label for forwindows parameter)
m (→‎Example: typo in example source)
Line 19: Line 19:
{{Infobox homebrew
{{Infobox homebrew
| for3ds = 1
| for3ds = 1
| developer = FlagBrew
| developers = FlagBrew
| forswitch = 1
| forswitch = 1
| image = Checkpoint-Banner.png
| image = Checkpoint-Banner.png

Revision as of 08:19, 26 June 2022

This places an infobox about homebrew software.

Example

If this were on the Checkpoint page...

{{Infobox homebrew
| for3ds = 1
| developers = FlagBrew
| forswitch = 1
| image = Checkpoint-Banner.png
| imagealt = Checkpoint banner on the Home Menu
| version = 3.8.0
| github = FlagBrew/Checkpoint
| githubtag = v3.8.0
}}

TemplateData

Console homebrew infobox.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Homebrew nametitle

Name of the homebrew - only set this if the page title shouldn't be automatically used

Default
Page title
Stringoptional
Imageimage

Image to use. Preference order: Banner image (3DS/Wii U), Banner screenshot (3DS), then Icon (3DS/Wii U/Switch)

Filesuggested
Image alt textimagealt

Alt text for the image, appears on hover and to screen readers

Example
Checkpoint banner on the Home Menu
Stringsuggested
For 3DSfor3ds

If the homebrew is for the Nintendo 3DS

Auto value
0
Booleanoptional
For Wii Uforwiiu

If the homebrew is for the Wii U

Auto value
0
Booleanoptional
For Switchforswitch

If the homebrew is for the Nintendo Switch

Auto value
0
Booleanoptional
Versionversion

Currently released version

Unknownsuggested
GitHub repositorygithub

Where the source code is on GitHub

Example
FlagBrew/Checkpoint
Stringoptional
GitLab.com repositorygitlab

Where the source code is on GitLab (not self-hosted instances)

Example
FlagBrew/Checkpoint
Stringoptional
Source code URLsourceurl

Where the source code is (if not on GitHub or GitLab.com)

URLoptional
External release URLreleaseurl

URL to find the latest release of the homebrew - can either be a direct download or a page that links to one

Example
https://example.com/hb/release-info/, https://example.com/hb/release.3dsx
URLoptional
Universal-DB URL pathuniversaldb

URL path to the homebrew's page on Universal-DB (db.universal-team.net)

Example
3ds/open_agb_firm
Stringoptional
GitHub release taggithubtag

Tag for the latest release on GitHub (requires GitHub repository to be set)

Example
latest, v1.0.2
Stringoptional
GitLab release taggitlabtag

Tag for the latest release on GitLab.com (requires GitLab repository to be set, not self-hosted instances)

Example
permalink/latest, v1.0.2
Stringoptional
Image sizeimagesize

Resize the image, accepts any value that the MediaWiki image syntax uses (recommended to use if image is over is 256px wide)

Example
256px
Stringoptional
Image captioncaption

Caption to display below the image

Stringoptional
For Windowsforwindows

If this is a PC tool that runs on Windows

Auto value
0
Booleanoptional
For macOSformac

If this is a PC tool that runs on macOS

Auto value
0
Booleanoptional
For Linuxforlinux

If this is a PC tool that runs on Linux

Auto value
0
Booleanoptional
For Javaforjava

If this is a PC tool that is a Java-based program

Auto value
0
Booleanoptional