Jump to content

Template:Infobox character: Difference between revisions

From Megabonk Wiki
No edit summary
No edit summary
Line 1: Line 1:
{| 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);"
<includeonly>
{| class="wikitable infobox" style="width:280px; float:right; margin:0 0 1em 1em;"
|-
|-
! colspan="2" style="text-align:center; font-size:1.25em; padding:.5em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="text-align:center; font-size:1.25em; padding:.5em; color:#FFD47F; background:rgba(255,255,255,.05);" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center; padding:.4em;" | [[File:{{{image|Placeholder.png}}}|240px|center|{{{name|}}}]]
| colspan="2" style="text-align:center; padding:.4em;" | [[File:{{{image|Placeholder.png}}}|250px|alt={{{alt|{{PAGENAME}} Megabonk character}}}]]
{{#if:{{{caption|}}}|<br /><small><i>{{{caption}}}</i></small>}}
|-
|-
! style="width:40%; white-space:nowrap;" | Unlock
{{#if:{{{unlock|}}}|! Unlock || {{{unlock}}}|-}}
| style="padding:.4em;" | {{{unlock}}}
{{#if:{{{weapon|}}}|! Default weapon || {{{weapon}}}|-}}
|-
{{#if:{{{blessing|}}}|! RNG Blessing || {{{blessing}}}|-}}
! Default weapon
{{#if:{{{role|}}}|! Role || {{{role}}}|-}}
| style="padding:.4em;" | {{{weapon}}}
{{#if:{{{difficulty|}}}|! Difficulty || {{{difficulty}}}|-}}
|-
{{#if:{{{notes|}}}|! Notes || {{{notes}}}|-}}
! RNG Blessing
| style="padding:.4em;" | {{{blessing}}}
|-
! Role
| style="padding:.4em;" | {{{role}}}
|-
! Difficulty
| style="padding:.4em;" | {{{difficulty}}}
|-
! Notes
| style="padding:.4em;" | {{{notes}}}
|}
|}
</includeonly>
<noinclude>
Usage:
<pre>
{{Infobox character
| name      = Fox
| image    = Fox.png
| alt      = Fox Megabonk character
| unlock    = Starting character
| weapon    = [[Firestaff]]
| blessing  = +1% Luck per level
| role      = Ranged
| difficulty= Easy
}}
</pre>
</noinclude>

Revision as of 18:26, 29 September 2025


Usage:

{{Infobox character
| name      = Fox
| image     = Fox.png
| alt       = Fox Megabonk character
| unlock    = Starting character
| weapon    = [[Firestaff]]
| blessing  = +1% Luck per level
| role      = Ranged
| difficulty= Easy
}}