m (trying to figure out why TemplateData is not working) |
m (mistakenly removed universaldb) |
||
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
| header20 = Download | | header20 = Download | ||
| data21 = {{#if: <!-- this is because plainlist always emits html elements, i need to check if any of the params are being checked first -->{{{releaseurl|}}}{{{universaldb|}}}{{{githubtag|}}}{{{gitlabtag|}}} | {{plainlist| | | data21 = {{#if: <!-- this is because plainlist always emits html elements, i need to check if any of the params are being checked first -->{{{releaseurl|}}}{{{universaldb|}}}{{{githubtag|}}}{{{gitlabtag|}}} | {{plainlist|<ul>{{#if: {{{releaseurl|}}} | <li>[{{{releaseurl}}} External site]</li> | }}{{#if: {{{releaseurl1|}}} | <li>[{{{releaseurl1}}} {{{releasename1}}}]</li> | }}{{#if: {{{releaseurl2|}}} | <li>[{{{releaseurl2}}} {{{releasename2}}}]</li> | }}{{#if: {{{releaseurl3|}}} | <li>[{{{releaseurl3}}} {{{releasename3}}}]</li> | }}{{#if: {{{universaldb|}}} | <li>[[universaldb:{{{universaldb}}}|Universal-DB]]</li> | }}{{#if: {{{githubtag|}}} | {{#if: {{{github|}}} | <li>[https://github.com/{{{github}}}/releases/{{{githubtag}}} GitHub release]</li> | }} | }}{{#if: {{{gitlabtag|}}} | {{#if: {{{gitlab|}}} | <li>[https://gitlab.com/{{{gitlab}}}/-/releases/{{{gitlabtag}}} GitLab release]</li> | }} | }}</ul> }} | }} | ||
{{#if: {{{releaseurl|}}} | | |||
{{#if: {{{releaseurl1|}}} | | |||
{{#if: {{{releaseurl2|}}} | | |||
{{#if: {{{releaseurl3|}}} | | |||
{{#if: {{{universaldb|}}} | | |||
{{#if: {{{githubtag|}}} | {{#if: {{{github|}}} | | |||
{{#if: {{{gitlabtag|}}} | {{#if: {{{gitlab|}}} | | |||
}}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{version|}}} | <!-- has a release date --> | [[Category:Software without a version set]] }} {{#if: {{{releasedate|}}} | <!-- has a release date --> | [[Category:Software without a release date set]] }} }}</includeonly> | }}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{version|}}} | <!-- has a release date --> | [[Category:Software without a version set]] }} {{#if: {{{releasedate|}}} | <!-- has a release date --> | [[Category:Software without a release date set]] }} }}</includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Latest revision as of 07:44, 27 July 2023
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 |