From Brotato Wiki

(Add templatedata)
m (reduce icon size very slightly (100px > 96px). This fixes some image stretching issues with mods that use existing item icons (as they are all 96x96))
 
Line 3: Line 3:
<div class="itemboxheader">
<div class="itemboxheader">
<div style="float:left">
<div style="float:left">
{{Iconbox|{{{icon|Cog}}}|caption=no|size=100px|nolink=1}}
{{Iconbox|{{{icon|Cog}}}|caption=no|size=96px|nolink=1}}
</div>
</div>
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;">
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;">

Latest revision as of 10:55, 12 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:


Wandering Bot.png
Brotato Mobile
Mod by Maximal08
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


Notes

External links are added like this:

[https://example.com This is the link text]


No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Example
My Mod
Stringrequired
Icon Imageicon

Exclude ".png"

Example
My_Mod_Icon
Stringsuggested
Authorauthor

no description

Stringsuggested
Descriptiondescription

no description

Stringsuggested
Mod Versionmodversion

no description

Example
1.2
Stringsuggested
Game Versiongameversion

Please wrap in the "Version" template

Example
{{Version|0.6.0.7}}
Stringsuggested
Last Updatedupdated

YYYY-MM-DD

Example
2022-10-24
Stringsuggested
Linkslinks

Link to another page, eg a Discord server

Example
[http://example.com Link Name]
Stringsuggested
nofloat (Please don't use this)nofloat

Prevents the infobox from floating to the right. Only intended for the docs page

Booleanoptional