From Brotato Wiki
(icon: use `nolink=1` to stop the image linking to a non-existent page) |
(Add templatedata) |
||
Line 82: | Line 82: | ||
<hr style="clear: both; margin: 20px auto; padding-top: 20px; border-top: 0; background: none; border-bottom: 1px solid #555;"> | <hr style="clear: both; margin: 20px auto; padding-top: 20px; border-top: 0; background: none; border-bottom: 1px solid #555;"> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"icon": { | |||
"label": "Icon Image", | |||
"description": "Exclude \".png\"", | |||
"example": "My_Mod_Icon", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"example": "My Mod", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"modversion": { | |||
"label": "Mod Version", | |||
"example": "1.2", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"gameversion": { | |||
"label": "Game Version", | |||
"description": "Please wrap in the \"Version\" template", | |||
"example": "{{Version|0.6.0.7}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"updated": { | |||
"label": "Last Updated", | |||
"description": "YYYY-MM-DD", | |||
"example": "2022-10-24", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"links": { | |||
"label": "Links", | |||
"description": "Link to another page, eg a Discord server", | |||
"example": "[http://example.com Link Name]", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"nofloat": { | |||
"label": "nofloat (Please don't use this)", | |||
"description": "Prevents the infobox from floating to the right. Only intended for the docs page", | |||
"type": "boolean" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"icon", | |||
"author", | |||
"description", | |||
"modversion", | |||
"gameversion", | |||
"updated", | |||
"links", | |||
"nofloat" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> |
Revision as of 01:17, 8 December 2022
Usage
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{Infobox Mod |name = Brotato Mobile |icon = Wandering Bot |author = Maximal08 |description = Mobile version of Brotato for Android. Lorem ipsum dolor sit amet. |modversion = 0.0.4 |gameversion = {{Version|0.6.0.7}} |updated = 2022-10-20 |links = My Link }}
Results in:
Description
Mobile version of Brotato for Android. Lorem ipsum dolor sit amet.
Mod Version
0.0.4
Game Version
0.6.0.7
Last Updated
2022-10-20
Links
Notes
External links are added like this:
[https://example.com This is the link text]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description
| String | required |
Icon Image | icon | Exclude ".png"
| String | suggested |
Author | author | no description | String | suggested |
Description | description | no description | String | suggested |
Mod Version | modversion | no description
| String | suggested |
Game Version | gameversion | Please wrap in the "Version" template
| String | suggested |
Last Updated | updated | YYYY-MM-DD
| String | suggested |
Links | links | Link to another page, eg a Discord server
| String | suggested |
nofloat (Please don't use this) | nofloat | Prevents the infobox from floating to the right. Only intended for the docs page | Boolean | optional |