m (Ihaveahax moved page Template:Infobox homebrew/doc to Template:Infobox software/doc: this is a more accurate name since it's being used for non-homebrew software as well as PC tools) |
No edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
=== Example === | === Example === | ||
If this were on the '''Checkpoint''' page... | |||
{{Infobox homebrew | {{Infobox homebrew | ||
| title = Checkpoint | | title = Checkpoint | ||
| for3ds = 1 | | for3ds = 1 | ||
| forswitch = 1 | | forswitch = 1 | ||
Line 11: | Line 12: | ||
| imagealt = Checkpoint banner on the Home Menu | | imagealt = Checkpoint banner on the Home Menu | ||
| version = 3.8.0 | | version = 3.8.0 | ||
| github = FlagBrew/Checkpoint | | github = FlagBrew/Checkpoint | ||
| githubtag = v3.8.0 | | githubtag = v3.8.0 | ||
| nocat = 1 | | nocat = 1 | ||
}} | }} | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox homebrew | {{Infobox homebrew | ||
| for3ds = 1 | | for3ds = 1 | ||
| forswitch = 1 | | forswitch = 1 | ||
| image = Checkpoint-Banner.png | | image = Checkpoint-Banner.png | ||
| imagealt = Checkpoint banner on the Home Menu | | imagealt = Checkpoint banner on the Home Menu | ||
| version = 3.8.0 | | version = 3.8.0 | ||
| github = FlagBrew/Checkpoint | | github = FlagBrew/Checkpoint | ||
| githubtag = v3.8.0 | | githubtag = v3.8.0 | ||
Line 47: | Line 44: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"label": "Image", | "label": "Image", | ||
"description": "Image to use. Preference order: Banner image (3DS/Wii U), Banner screenshot (3DS), then Icon (3DS/Wii U/Switch) | "description": "Image to use. Preference order: Banner image (3DS/Wii U), , Banner screenshot (3DS), then Icon (3DS/Wii U/Switch)", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 60: | Line 51: | ||
"description": "If the homebrew is for the Nintendo 3DS", | "description": "If the homebrew is for the Nintendo 3DS", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"forwiiu": { | "forwiiu": { | ||
Line 67: | Line 57: | ||
"description": "If the homebrew is for the Wii U", | "description": "If the homebrew is for the Wii U", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"forswitch": { | "forswitch": { | ||
Line 74: | Line 63: | ||
"description": "If the homebrew is for the Nintendo Switch", | "description": "If the homebrew is for the Nintendo Switch", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"version": { | "version": { | ||
"label": "Version", | "label": "Version", | ||
"description": "Currently released version | "description": "Currently released version", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"github": { | "github": { | ||
Line 117: | Line 97: | ||
"description": "URL path to the homebrew's page on Universal-DB (db.universal-team.net)", | "description": "URL path to the homebrew's page on Universal-DB (db.universal-team.net)", | ||
"example": "3ds/open_agb_firm", | "example": "3ds/open_agb_firm", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 153: | Line 127: | ||
"label": "Image caption", | "label": "Image caption", | ||
"description": "Caption to display below the image", | "description": "Caption to display below the image", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"forwindows": { | "forwindows": { | ||
"label": "For Windows", | "label": "For Microsoft Windows", | ||
"description": "If this is a PC tool that runs on Windows", | "description": "If this is a PC tool that runs on Windows", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"formac": { | "formac": { | ||
Line 184: | Line 139: | ||
"description": "If this is a PC tool that runs on macOS", | "description": "If this is a PC tool that runs on macOS", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"forlinux": { | "forlinux": { | ||
Line 191: | Line 145: | ||
"description": "If this is a PC tool that runs on Linux", | "description": "If this is a PC tool that runs on Linux", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
}, | }, | ||
"forjava": { | "forjava": { | ||
Line 198: | Line 151: | ||
"description": "If this is a PC tool that is a Java-based program", | "description": "If this is a PC tool that is a Java-based program", | ||
"type": "boolean", | "type": "boolean", | ||
"autovalue": "0" | "autovalue": "0" | ||
} | } | ||
}, | }, | ||
Line 228: | Line 160: | ||
"image", | "image", | ||
"imagealt", | "imagealt", | ||
"for3ds", | "for3ds", | ||
"forwiiu", | "forwiiu", | ||
"forswitch", | "forswitch", | ||
"version", | "version", | ||
"github", | "github", | ||
"gitlab", | "gitlab", | ||
Line 245: | Line 169: | ||
"releaseurl", | "releaseurl", | ||
"universaldb", | "universaldb", | ||
"githubtag", | "githubtag", | ||
"gitlabtag", | "gitlabtag", | ||
"imagesize", | |||
"caption", | "caption", | ||
"forwindows", | "forwindows", | ||
"formac", | "formac", |
Revision as of 03:25, 12 June 2022
This places an infobox about homebrew software.
Example
If this were on the Checkpoint page...
Console | Nintendo 3DS, Nintendo Switch |
---|---|
Version | 3.8.0 |
Links | |
GitHub | FlagBrew/Checkpoint |
Download | |
{{Infobox homebrew | for3ds = 1 | 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Homebrew name | title | Name of the homebrew - only set this if the page title shouldn't be automatically used
| String | optional |
Image | image | Image to use. Preference order: Banner image (3DS/Wii U), , Banner screenshot (3DS), then Icon (3DS/Wii U/Switch) | File | suggested |
Image alt text | imagealt | Alt text for the image, appears on hover and to screen readers
| String | suggested |
For 3DS | for3ds | If the homebrew is for the Nintendo 3DS
| Boolean | optional |
For Wii U | forwiiu | If the homebrew is for the Wii U
| Boolean | optional |
For Switch | forswitch | If the homebrew is for the Nintendo Switch
| Boolean | optional |
Version | version | Currently released version | Unknown | suggested |
GitHub repository | github | Where the source code is on GitHub
| String | optional |
GitLab.com repository | gitlab | Where the source code is on GitLab (not self-hosted instances)
| String | optional |
Source code URL | sourceurl | Where the source code is (if not on GitHub or GitLab.com) | URL | optional |
External release URL | releaseurl | URL to find the latest release of the homebrew - can either be a direct download or a page that links to one
| URL | optional |
Universal-DB URL path | universaldb | URL path to the homebrew's page on Universal-DB (db.universal-team.net)
| String | optional |
GitHub release tag | githubtag | Tag for the latest release on GitHub (requires GitHub repository to be set)
| String | optional |
GitLab release tag | gitlabtag | Tag for the latest release on GitLab.com (requires GitLab repository to be set, not self-hosted instances)
| String | optional |
Image size | imagesize | Resize the image, accepts any value that the MediaWiki image syntax uses (recommended to use if image is over is 256px wide)
| String | optional |
Image caption | caption | Caption to display below the image | String | optional |
For Microsoft Windows | forwindows | If this is a PC tool that runs on Windows
| Boolean | optional |
For macOS | formac | If this is a PC tool that runs on macOS
| Boolean | optional |
For Linux | forlinux | If this is a PC tool that runs on Linux
| Boolean | optional |
For Java | forjava | If this is a PC tool that is a Java-based program
| Boolean | optional |