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
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);"
|-
|-
! 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:.35em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}}
|-
|-
| '''Stat''' || {{{stat|}}}
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|240px|center|{{{name|}}}]]
|-
|-
| '''Base upgrade''' || {{{upgrade|—}}}
! style="width:40%; white-space:nowrap;" | Stat
| style="padding:.3em;" | {{{stat|—}}}
|-
|-
| '''Unlock''' || {{{unlock|—}}}
! Base upgrade
| style="padding:.3em;" | {{{upgrade|—}}}
|-
|-
| '''Max level''' || {{{max|99}}}
! How to unlock
| style="padding:.3em;" | {{{unlock|—}}}
|-
! Max level
| style="padding:.3em;" | {{{max|99}}}
|-
! Effect
| style="padding:.3em;" | {{{effect|}}}
|}
|}
</includeonly>
</includeonly>
Line 22: Line 31:
{{Tome
{{Tome
| name    = Agility Tome
| name    = Agility Tome
| image  = Placeholder.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 ===
'''Parameters'''
* <code>name</code> – optional; defaults to {{PAGENAME}}
* <code>name</code> – optional; defaults to {{PAGENAME}}
* <code>stat</code> – the stat affected
* <code>image</code> – optional; defaults to <i>Placeholder.png</i>
* <code>stat</code> – the stat affected by the Tome
* <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 Tome level (default 99)
* <code>max</code> – maximum Tome level (default 99)
* <code>effect</code> – short one-line effect summary (optional)
</noinclude>
</noinclude>

Revision as of 09:54, 2 October 2025


This infobox is for Megabonk Tomes.

Usage

Place it at the top of a Tome page:

{{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 tome
  • image – optional; defaults to Placeholder.png
  • stat – the stat affected by the Tome
  • upgrade – base per-level increase
  • unlock – how to unlock the Tome
  • max – maximum Tome level (default 99)
  • effect – short one-line effect summary (optional)