Template:Infobox mob: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 17: Line 17:
! colspan="2" | [[Image:{{{image}}}]]
! colspan="2" | [[Image:{{{image}}}]]
|- {{#if: {{{world|}}} | | style="display:none;" }}
|- {{#if: {{{world|}}} | | style="display:none;" }}
! World || [[{{{world|}}} World]]
! World || {{#switch:{{{world|}}}|Light=[[Light World]]|Dark=[[Dark World]]|[[{{{world|}}}]]}}
|- {{#if: {{{subzone|}}} | | style="display:none;" }}
|- {{#if: {{{subzone|}}} | | style="display:none;" }}
! Subzone || [[{{{subzone}}}]]
! Subzone || [[{{{subzone}}}]]
Line 23: Line 23:
! colspan="2" | Incoming Damage
! colspan="2" | Incoming Damage
|- {{#ifexpr: {{{green|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{green|0}}} > 0 | | style="display:none;" }}
! [[Green Mail]] || {{#expr: {{{green|0}}}/8}}
! [[Green Mail]] || {{#expr: {{{green|0}}}/8}}{{Icon|Heart}}
|- {{#ifexpr: {{{blue|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{blue|0}}} > 0 | | style="display:none;" }}
! [[Blue Mail]] || {{#expr: {{{blue|0}}}/8}}
! [[Blue Mail]] || {{#expr: {{{blue|0}}}/8}}{{Icon|Heart}}
|- {{#ifexpr: {{{red|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{red|0}}} > 0 | | style="display:none;" }}
! [[Red Mail]] || {{#expr: {{{red|0}}}/8}}
! [[Red Mail]] || {{#expr: {{{red|0}}}/8}}{{Icon|Heart}}
|}</includeonly>
|}</includeonly>

Latest revision as of 03:04, 24 January 2024

An infobox for a mob profile in the Main namespace.

Usage

{{Infobox mob
| world   = Light/Dark
| image   = Uploaded Mob Image
| subzone = Subzone/Region Name 
| green   = 0 
| blue    = 0 
| red     = 0 
}}