Template:Infobox mob: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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}}}]]
|- {{#ifexpr: {{{green|0}}} + {{{blue|0}}} + {{{red|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{green|0}}} + {{{blue|0}}} + {{{red|0}}} > 0 | | style="display:none;" }}

Revision as of 03:03, 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 
}}