Template:Infobox game mod: Difference between revisions
More actions
Created page with "{{Infobox | name = Infobox game mod | title = {{{title|{{SUBPAGENAME}}}}} | image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | caption = {{{caption|}}} | autoheaders = y | bodyclass = plainlinks | label1 = Game | data1 = {{{game|[[{{NAMESPACE}}:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]}}} | label2 = Developer(s) | data2 = {{{developers|}}} | label3 = Version | data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }..." |
add |website= param |
||
| Line 15: | Line 15: | ||
| header10 = Links | | header10 = Links | ||
| label11 = GitHub | | label11 = Website | ||
| | | data11 = {{#if: {{{website|}}} | [{{{website}}}] | }} | ||
| | | label12 = GitHub | ||
| | | data12 = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }} | ||
| | | label13 = GitLab | ||
| | | data13 = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }} | ||
| label14 = Source code | |||
| 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 |