Template:Infobox mod/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added see also links) |
TheOnlyZac (talk | contribs) (Added sample) |
||
Line 3: | Line 3: | ||
== Usage == |
== Usage == |
||
<pre> |
|||
⚫ | |||
⚫ | |||
{{Infobox mod |
|||
| title= Mod Name (optional, defaults to page title) |
|||
| image= File:Image file name.png |
|||
| caption= Image caption |
|||
| creator= Creator’s name |
|||
| releasedate= January 1 2000 |
|||
| version= NTSC/PAL |
|||
| download= https://example.com |
|||
}} |
|||
</pre> |
|||
⚫ | |||
⚫ | |||
* <tt>image</tt> - An image to be displayed in the infobox. Default is {{tl|No image}}. |
* <tt>image</tt> - An image to be displayed in the infobox. Default is {{tl|No image}}. |
||
** Use '''just the name of the |
** Use '''just the name of the file''', eg. {{Color|limegreen|<nowiki>File:ITM anticrack firewall.png</nowiki>}}, not {{Color|red|<nowiki>[[File:ITM anticrack firewall]]</nowiki>}} |
||
* <tt>caption</tt> - The caption below the image. |
* <tt>caption</tt> - The caption text below the image. |
||
* <tt>width</tt> - Width of the image/infobox body. Default is 360px. |
* <tt>width</tt> - Width of the image/infobox body. Default is 360px. |
||
* <tt>creator</tt> - The name of the mod creator. |
* <tt>creator</tt> - The name of the mod creator. |
Revision as of 23:05, 11 September 2022
This is a documentation subpage for Template:Infobox mod It contains usage information, categories and other content that is not part of the original template page. |
Use this template to add an Infobox to an article for a game mod.
Usage
{{Infobox mod | title= Mod Name (optional, defaults to page title) | image= File:Image file name.png | caption= Image caption | creator= Creator’s name | releasedate= January 1 2000 | version= NTSC/PAL | download= https://example.com }}
The template supports the following optional parameters.
- title - The title of the infobox. Default is the page name.
- image - An image to be displayed in the infobox. Default is {{No image}}.
- Use just the name of the file, eg. File:ITM anticrack firewall.png, not [[File:ITM anticrack firewall]]
- caption - The caption text below the image.
- width - Width of the image/infobox body. Default is 360px.
- creator - The name of the mod creator.
- version - The version of the game the mod was made for (e.g. NTSC, PAL, JP)
- download - An external link to download the mod. Don't upload the mod to the wiki.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox mod
An infobox for mod infopages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the mod (default is the page name) | String | optional |
image | image | no description | File | optional |
image caption | caption | no description | String | optional |
width | width | no description | Unknown | optional |
creator | creator author | The name of the person who created the mod | String | optional |
release date | releasedate | The date the mod was first released
| Date | optional |
version | version build | The version of the game the mod is for | String | optional |
download link | download | Download link for the mod | URL | optional |
See also
- {{Infobox game mechanic}}
- {{Infobox data structure}}
- {{Infobox subsystem}}
- {{Infobox map}}