Jump to content

Template:Infobox tome: Difference between revisions

From Megabonk Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="
{| 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;"
  width:260px; float:right; margin:0 0 12px 12px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.10);
  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="
! colspan="2" style="text-align:center; font-size:1.15em; padding:.35em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}}
  text-align:center; font-size:1.05em; letter-spacing:.2px;
  padding:.55em .6em; color:#FFD47F;
  background:linear-gradient(0deg, rgba(255,255,255,.04), rgba(255,255,255,.06));" |
  {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{image|}}}|
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|240px|center|{{{name|}}}]]
| colspan="2" style="text-align:center; padding:.35em .35em .2em;" |
  [[File:{{{image}}}|256px|center|{{{name|}}}]]
}}
|-
|-
! style="width:42%; white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Stat
! style="width:40%; white-space:nowrap;" | Stat
| style="padding:.5em .6em;" | {{{stat|—}}}
| style="padding:.3em;" | {{{stat|—}}}
|-
|-
! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Base upgrade
! Base upgrade
| style="padding:.5em .6em;" | {{{upgrade|—}}}
| style="padding:.3em;" | {{{upgrade|—}}}
|-
|-
! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | How to unlock
! How to unlock
| style="padding:.5em .6em;" | {{{unlock|—}}}
| style="padding:.3em;" | {{{unlock|—}}}
|-
|-
! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Max level
! Max level
| style="padding:.5em .6em;" | {{{max|99}}}
| style="padding:.3em;" | {{{max|99}}}
{{#if:{{{effect|}}}|
|-
|-
! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Effect
! Effect
| style="padding:.5em .6em;" | {{{effect}}}
| style="padding:.3em;" | {{{effect|}}}
}}
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
This infobox is for Megabonk Tomes (enhanced style).
This infobox is for Megabonk Tomes (parser-free).


== Usage ==
== Usage ==
Line 52: Line 37:
}}
}}
</pre>
</pre>
'''Parameters'''
* <code>name</code> – optional; defaults to {{PAGENAME}}
* <code>image</code> – optional; if omitted, image row is hidden
* <code>stat</code> – the affected stat
* <code>upgrade</code> – base per-level increase
* <code>unlock</code> – how to unlock the Tome
* <code>max</code> – maximum level (default 99)
* <code>effect</code> – optional; if omitted, row is hidden
</noinclude>
</noinclude>

Revision as of 10:12, 2 October 2025


This infobox is for Megabonk Tomes (parser-free).

Usage

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