Jump to content

Template:Infobox tome: Difference between revisions

From Megabonk Wiki
Created page with "<includeonly> {| class="infobox" style="width:260px; font-size:90%; text-align:left;" |- ! colspan="2" style="text-align:center; background:#2d3e6c; color:#fff;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- | '''Stat''' || {{{stat|—}}} |- | '''Base upgrade''' || {{{upgrade|—}}} |- | '''Unlock''' || {{{unlock|—}}} |- | '''Max level''' || {{{max|99}}} |} </includeonly> <noinclude> This infobox is for Megabonk Tomes. == Usage == Place it at the top of a Tome page..."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:260px; font-size:90%; text-align:left;"
{| class="infobox" style="width:240px; float:right; margin:0 0 12px 12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:12px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.14); font-size:90%; text-align:left; line-height:1.45;"
|-
|-
! colspan="2" style="text-align:center; background:#2d3e6c; color:#fff;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" style="text-align:center; font-size:1.15em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}}
|-
|-
| '''Stat''' || {{{stat|}}}
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|96px|center|alt={{{name|}}} tome|{{{name|}}}]]
|-
|-
| '''Base upgrade''' || {{{upgrade|—}}}
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Stat
| style="padding:.4em;" | {{{stat|—}}}
|-
|-
| '''Unlock''' || {{{unlock|—}}}
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Base upgrade
| style="padding:.4em;" | {{{upgrade|—}}}
|-
|-
| '''Max level''' || {{{max|99}}}
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | How to unlock
| style="padding:.4em;" | {{{unlock|—}}}
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Max level
| style="padding:.4em;" | {{{max|99}}}
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Effect
| style="padding:.4em;" | {{{effect|}}}
|}
|}
</includeonly>
</includeonly><noinclude>
<noinclude>
This infobox is for Megabonk Tomes.
 
== Usage ==
== Usage ==
Place it at the top of a Tome page:
{{Infobox tome
| name    = Agility Tome
| image  = Agility_Tome.png
| stat    = Movement Speed
| upgrade = +15%
| unlock  = Default
| max    = 99
| effect  = Increases overall movement speed; improves kiting and repositioning.
}}


=== Example (copy-paste code) ===
<pre>
<pre>
{{Tome
{{Infobox tome
| name    = Agility Tome
| name    = Agility Tome
| image  = Agility_Tome.png
| stat    = Movement Speed
| stat    = Movement Speed
| upgrade = +15%
| upgrade = +15%
| unlock  = Default
| unlock  = Default
| max    = 99
| max    = 99
| effect  = Increases overall movement speed; improves kiting and repositioning.
}}
}}
</pre>
</pre>
=== Parameters ===
* <code>name</code> – optional; defaults to {{PAGENAME}}
* <code>stat</code> – the stat affected
* <code>upgrade</code> – base per-level increase
* <code>unlock</code> – how to unlock the Tome
* <code>max</code> – maximum Tome level (default 99)
</noinclude>
</noinclude>

Latest revision as of 17:00, 2 October 2025

Usage

Agility Tome
Agility Tome tome
Agility Tome
Stat Movement Speed
Base upgrade +15%
How to unlock Default
Max level 99
Effect Increases overall movement speed; improves kiting and repositioning.


Example (copy-paste code)

{{Infobox tome
| name    = Agility Tome
| image   = Agility_Tome.png
| stat    = Movement Speed
| upgrade = +15%
| unlock  = Default
| max     = 99
| effect  = Increases overall movement speed; improves kiting and repositioning.
}}