Jump to content

Template:Infobox character: Difference between revisions

From Megabonk Wiki
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 5: Line 5:
|-
|-
| colspan="2" style="text-align:center;" |
| colspan="2" style="text-align:center;" |
   [[File:{{{image|Placeholder.png}}}|300px|alt={{{alt|{{{name|{{PAGENAME}}}} Megabonk character}}}}|class=character-image|link=]]
   [[File:{{{image|Placeholder.png}}}|300px|alt={{{alt|{{{name|{{PAGENAME}}}}}}}}|class=character-image|link=]]
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
|-
|-
Line 14: Line 14:
! Availability
! Availability
| {{#if:{{{availability|}}}|{{{availability}}}|—}} {{#if:{{{unlock_note|}}}|<br /><small>{{{unlock_note}}}</small>}}
| {{#if:{{{availability|}}}|{{{availability}}}|—}} {{#if:{{{unlock_note|}}}|<br /><small>{{{unlock_note}}}</small>}}
<!-- Örn: "Starting character" veya "Unlock via [[Unlocks]] after meeting conditions" -->
|-
|-
! Unlock Method
! Unlock Method
| {{#if:{{{unlock|}}}|{{{unlock}}}|—}}
| {{#if:{{{unlock|}}}|{{{unlock}}}|—}}
<!-- Örn: "Defeat 1,000 [[Skeletons]] in the [[Forest]]", "Complete [[Forest Tier 1]]", "Complete 2 [[Challenges]]" -->
|-
|-
! Default Weapon
! Default Weapon
| {{#if:{{{weapon|}}}|[[{{{weapon}}}]]<br /><small>(see [[Weapons]])</small>|—}}
| {{#if:{{{weapon|}}}|[[{{{weapon}}}]]<br /><small>(see [[Weapons]])</small>|—}}
|-
|-
! RNG Blessing / Traits
! RNG Blessing / Traits
| {{#if:{{{rng|}}}|{{{rng}}}|—}}
| {{#if:{{{rng|}}}|{{{rng}}}|—}}
<!-- Örn: "+1% Luck per level", "Execute on evade; +0.5% Evasion per level" -->
|-
|-
! Role / Class
! Role / Class
| {{#if:{{{role|}}}|{{{role}}}|—}}
| {{#if:{{{role|}}}|{{{role}}}|—}}
<!-- İstersen: Melee / Ranged / Hybrid / Tank / Assassin vb. -->
|-
|-
! Starting Map
! Starting Map
| {{#if:{{{map|}}}|{{{map}}}|—}}
| {{#if:{{{map|}}}|{{{map}}}|—}}
<!-- Örn: [[Forest]], [[Desert]] -->
|-
|-
! Faction
! Faction
| {{#if:{{{faction|}}}|{{{faction}}}|—}}
| {{#if:{{{faction|}}}|{{{faction}}}|—}}
|-
|-
! Related Quests
! Related Quests
| {{#if:{{{quests|}}}|{{{quests}}}|—}}
| {{#if:{{{quests|}}}|{{{quests}}}|—}}
<!-- Örn: "[[Character Quests]]", belirli görev adları eklenecekse liste halinde -->
|-
|-
! Related Challenges
! Related Challenges
| {{#if:{{{challenges|}}}|{{{challenges}}}|—}}
| {{#if:{{{challenges|}}}|{{{challenges}}}|—}}
|-
|-
! Tome / Items Synergy
! Tome / Items Synergy
| {{#if:{{{synergy|}}}|{{{synergy}}}|—}}
| {{#if:{{{synergy|}}}|{{{synergy}}}|—}}
<!-- Örn: "[[Thorns Tome]], [[Damage Tome]] synergy", belirli item bağları -->
|-
|-
! Base Stats
! Base Stats
Line 51: Line 68:
   {{#if:{{{evasion|}}}|'''Evasion:''' {{{evasion}}}%<br />|}}
   {{#if:{{{evasion|}}}|'''Evasion:''' {{{evasion}}}%<br />|}}
   {{#if:{{{thorns|}}}|'''Thorns:''' {{{thorns}}}|}}
   {{#if:{{{thorns|}}}|'''Thorns:''' {{{thorns}}}|}}
|-
|-
! Per-Level Growth
! Per-Level Growth
| {{#if:{{{growth|}}}|{{{growth}}}|—}}
| {{#if:{{{growth|}}}|{{{growth}}}|—}}
<!-- Örn: "+1% Luck per level", "-0.2s cooldown per level", "+2 Max HP per level" -->
|-
|-
! Notes
! Notes
| {{#if:{{{notes|}}}|{{{notes}}}|—}}
| {{#if:{{{notes|}}}|{{{notes}}}|—}}
|}
|}
<!-- Otomatik kategoriler -->
{{#if:{{{nocat|}}}||[[Category:Characters]]}}
{{#if:{{{nocat|}}}||[[Category:Characters]]}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
{{Documentation}}
Example:
This template renders a standardized infobox for Megabonk character pages.
<pre>
 
{{Infobox character
== Parameters ==
| name       = Fox
* <code>name</code> – Character name (defaults to page name).
| image       = Fox.png
* <code>image</code> – Image filename (e.g. <code>Fox.png</code>).
| alt         = Fox Megabonk character
* <code>alt</code> – Short alt text for accessibility.
| caption     = Starter character
* <code>caption</code> – Small caption under the image.
| availability= Starting character
* <code>availability</code> – "Starting character" or "Unlockable".
| unlock     = —
* <code>unlock_note</code> – Optional extra note (e.g., "Purchase in [[Unlocks]] tab").
| weapon     = Firestaff
* <code>unlock</code> – How to unlock (link to [[Challenges]], [[Forest]], [[Desert]], etc.).
| rng         = +1% Luck per level
* <code>weapon</code> – Default weapon page (e.g. <code>Katana</code> → links to [[Katana]]).
| role       = Ranged
* <code>rng</code> – RNG Blessing / passive traits.
| map         = [[Forest]]
* <code>role</code> – Melee / Ranged / Hybrid / Tank / Assassin, etc.
| hp         = 100
* <code>map</code> – Starting/related map (e.g. [[Forest]], [[Desert]]).
| damage     = 10
* <code>faction</code> – Optional grouping, if used.
| growth     = +1% Luck per level
* <code>quests</code> – Links to related quest pages (e.g. [[Character Quests]]).
}}
* <code>challenges</code> – Links to challenge pages.
</pre>
* <code>synergy</code> – Linked tomes/items synergy (e.g. [[Thorns Tome]], [[Damage Tome]]).
* <code>hp</code>, <code>armor</code>, <code>damage</code>, <code>speed</code>, <code>crit</code>, <code>luck</code>, <code>evasion</code>, <code>thorns</code> – Base stats.
* <code>growth</code> – Per-level growth summary.
* <code>notes</code> – Misc notes.
* <code>nocat</code> – Set to "1" to suppress auto-category.
 
== See also ==
* [[Characters]] • [[Weapons]] • [[Tomes]] • [[Challenges]] • [[Unlocks]] • [[Forest]] • [[Desert]] • [[Character Quests]]
 
</noinclude>
</noinclude>

Revision as of 17:29, 29 September 2025


Template:Documentation This template renders a standardized infobox for Megabonk character pages.

Parameters

  • name – Character name (defaults to page name).
  • image – Image filename (e.g. Fox.png).
  • alt – Short alt text for accessibility.
  • caption – Small caption under the image.
  • availability – "Starting character" or "Unlockable".
  • unlock_note – Optional extra note (e.g., "Purchase in Unlocks tab").
  • unlock – How to unlock (link to Challenges, Forest, Desert, etc.).
  • weapon – Default weapon page (e.g. Katana → links to Katana).
  • rng – RNG Blessing / passive traits.
  • role – Melee / Ranged / Hybrid / Tank / Assassin, etc.
  • map – Starting/related map (e.g. Forest, Desert).
  • faction – Optional grouping, if used.
  • quests – Links to related quest pages (e.g. Character Quests).
  • challenges – Links to challenge pages.
  • synergy – Linked tomes/items synergy (e.g. Thorns Tome, Damage Tome).
  • hp, armor, damage, speed, crit, luck, evasion, thorns – Base stats.
  • growth – Per-level growth summary.
  • notes – Misc notes.
  • nocat – Set to "1" to suppress auto-category.

See also