Template:Infobox mod: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Updated parameters, moved templatedata to doc) |
TheOnlyZac (talk | contribs) (Update parameters) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox |
<includeonly>{{Infobox |
||
| name= Template:Infobox mod |
|||
| bodystyle= width: {{{width|360px}}}; max-width: {{{width|500px}} !important; |
|||
| |
| bodystyle= {{{style|}}} |
||
| title= {{{title|{{{name|{{FULLPAGENAME}}}}}}}} |
|||
| above= Mod |
| above= Mod |
||
| image= {{ |
| image= {{#if: {{{image|}}} |{{Image exists|file={{{image|}}}|width={{{width|100%}}}}}}} |
||
| caption= {{{caption|}}} |
| caption= {{{caption|}}} |
||
| label1= {{#if: {{{creator}}}|Creator|}} |
| label1= {{#if: {{{creator}}}|Creator(s)|}} |
||
| data1= {{{creator|}}} |
| data1= {{#if: {{{creator|}}} | {{#ifexist:User:{{{creator}}} | {{Mod author|{{{creator}}}}} | {{{creator|}}} }} |}} |
||
| label2= {{#if: {{{releasedate}}}|Initial Release|}} |
| label2= {{#if: {{{releasedate}}}|Initial Release|}} |
||
| data2= {{{releasedate|}}} |
| data2= {{{releasedate|}}} |
||
| label3= Game |
| label3= Game |
||
| |
| data3= {{Sly other |
||
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Mods for Sly 1]] |
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Mods for Sly 1]] |
||
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Mods for Sly 2]] |
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Mods for Sly 2]] |
||
Line 20: | Line 21: | ||
| label5= {{#if: {{{download}}}|Download|}} |
| label5= {{#if: {{{download}}}|Download|}} |
||
| data5= {{#if: {{{download}}}|[{{{download}}} Link]|}} |
| data5= {{#if: {{{download}}}|[{{{download}}} Link]|}} |
||
}}{{ |
}}{{Article only|[[Category:Mods]]}} |
||
{{WikiSEO helper |
|||
| title={{Main other | {{PAGENAME}} {{Sly other|sly1=for Sly 1|sly2=for Sly 2|sly3=for Sly 3|sly4=for Sly 4|other=}} | {{FULLPAGENAME}} }} |
|||
| description={{Main other | A mod for {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper}}{{#if:{{{version|}}}|  ({{{version}}})|}}{{#if:{{{creator|}}}|  by {{{creator}}}|}}. |}} |
|||
| image={{#if:{{{image|}}} | {{{image}}} |}} |
|||
| keywords= mod, game mod, mod download, mod info, modification |
|||
}}</includeonly><noinclude> |
|||
{{Infobox mod |
{{Infobox mod |
||
| name= name |
| name= name |
Latest revision as of 04:10, 26 September 2023
Mod | |
---|---|
Creator(s) | creator |
Initial Release | releasedate |
Version | NTSC-U |
Download | Link |
Use this template to add an Infobox to an article for a game mod.
Usage
{{Infobox mod | name= 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.
- name - The name of the mod (used for infobox title). 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 |
style | style | no description | Unknown | optional |
title | title | no description | String | deprecated |
See also
- {{Infobox game mechanic}}
- {{Infobox data structure}}
- {{Infobox subsystem}}
- {{Infobox map}}