m (mistakenly removed universaldb) |
(add |website= param) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | | image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| autoheaders = y | | autoheaders = y | ||
| bodyclass = plainlinks | | bodyclass = plainlinks | ||
Line 14: | Line 12: | ||
| data2 = {{{developers|}}} | | data2 = {{{developers|}}} | ||
| label3 = Version | | label3 = Version | ||
| data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ( | | data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }} | ||
| header10 = Links | | header10 = Links | ||
Line 25: | Line 23: | ||
| label14 = Source code | | label14 = Source code | ||
| data14 = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }} | | data14 = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }} | ||
}}<noinclude>{{Documentation}}</noinclude> | |||
<noinclude>{{Documentation}}</noinclude> |
Revision as of 09:34, 9 September 2022
Game | Infobox game mod |
---|---|
TemplateData
Game mod infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Mod name | title | Name of the mod - only set this if the page title shouldn't be automatically used
| String | optional |
Game | game | Game that the mod is for - only set if the root page doesn't work, must be wikitext (is not automatically made into a link)
| Content | 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 |
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 |
Screenshot | screenshot | A screenshot of the application | File | suggested |
Screenshot alt text | screenshotalt | Alt text for the screenshot, appears on hover and to screen readers
| String | suggested |
Screenshot size | screenshotsize | Resize the screenshot, accepts any value that the MediaWiki image syntax uses (recommended to use if image is over is 256px wide)
| String | optional |
Developers | developers | List of primary developers
| Content | suggested |
Version | version | Currently released version | Unknown | suggested |
Release date | releasedate | Date of the latest release in YYYY-MM-DD format
| Date | suggested |
Website | website | Link to a page for the mod. Can be something like a forum thread link too. Use the GitHub or GitLab parameters for those sites instead. | URL | suggested |
GitHub repository | github | Where the source code is on GitHub
| String | optional |
GitLab.com repository | gitlab | Where the source code is on GitLab.com (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 mod - 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.com release tag | gitlabtag | Tag for the latest release on GitLab.com (requires GitLab repository to be set, not self-hosted instances)
| String | optional |
Image caption | caption | Caption to display below the image | String | optional |
Screenshot caption | screenshotcaption | Caption to display below the screenshot | String | optional |