Template:Infobox tome: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: | {| class="infobox" style=" | ||
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="text-align:center; font-size:1. | ! colspan="2" style=" | ||
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}}}}} | |||
|- | |- | ||
| colspan="2" style="text-align:center; padding:. | {{#if:{{{image|}}}| | ||
| colspan="2" style="text-align:center; padding:.35em .35em .2em;" | | |||
[[File:{{{image}}}|256px|center|{{{name|}}}]] | |||
}} | |||
|- | |- | ||
! style="width: | ! style="width:42%; white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Stat | ||
| style="padding:. | | style="padding:.5em .6em;" | {{{stat|—}}} | ||
|- | |- | ||
! Base upgrade | ! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Base upgrade | ||
| style="padding:. | | style="padding:.5em .6em;" | {{{upgrade|—}}} | ||
|- | |- | ||
! How to unlock | ! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | How to unlock | ||
| style="padding:. | | style="padding:.5em .6em;" | {{{unlock|—}}} | ||
|- | |- | ||
! Max level | ! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Max level | ||
| style="padding:. | | style="padding:.5em .6em;" | {{{max|99}}} | ||
{{#if:{{{effect|}}}| | |||
|- | |- | ||
! Effect | ! style="white-space:nowrap; padding:.5em .6em; background:rgba(255,255,255,.03);" | Effect | ||
| style="padding:. | | style="padding:.5em .6em;" | {{{effect}}} | ||
}} | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This infobox is for Megabonk Tomes. | This infobox is for Megabonk Tomes (enhanced style). | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Tome | {{Tome | ||
Line 42: | Line 55: | ||
'''Parameters''' | '''Parameters''' | ||
* <code>name</code> – optional; defaults to {{PAGENAME}} | * <code>name</code> – optional; defaults to {{PAGENAME}} | ||
* <code>image</code> – optional; | * <code>image</code> – optional; if omitted, image row is hidden | ||
* <code>stat</code> – the stat | * <code>stat</code> – the affected stat | ||
* <code>upgrade</code> – base per-level increase | * <code>upgrade</code> – base per-level increase | ||
* <code>unlock</code> – how to unlock the Tome | * <code>unlock</code> – how to unlock the Tome | ||
* <code>max</code> – maximum | * <code>max</code> – maximum level (default 99) | ||
* <code>effect</code> – | * <code>effect</code> – optional; if omitted, row is hidden | ||
</noinclude> | </noinclude> |
Revision as of 10:05, 2 October 2025
This infobox is for Megabonk Tomes (enhanced style).
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. }}
Parameters
name
– optional; defaults to Infobox tomeimage
– optional; if omitted, image row is hiddenstat
– the affected statupgrade
– base per-level increaseunlock
– how to unlock the Tomemax
– maximum level (default 99)effect
– optional; if omitted, row is hidden