Template:Mob: Difference between revisions

m (1 revision)
 
No edit summary
Line 1: Line 1:
<includeonly>{| class="wikia-infobox"
<includeonly>{{infobox common
| title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = [[File: {{#ifeq: {{ucfirst: {{{image}}} }} | None | No image.png | {{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}.png | {{BASEPAGENAME}}.png | No image.svg}} }} }}|{{ #if: {{{imagesize|}}} | {{{imagesize}}} | 200px }}|center]]{{
  #if: {{{image2|}}} | <div style="padding-top: 1em">[[File:{{{image2}}}|{{ #if: {{{image2size|}}} | {{{image2size}}} | 200px }}|center]]</div>
}}{{
  #if: {{{image3|}}} | <div style="padding-top: 1em">[[File:{{{image3}}}|{{ #if: {{{image3size|}}} | {{{image3size}}} | 200px }}|center]]</div>
}}{{#if:{{{caption|}}} | <div style="text-align:center; font-size:0.9em;">{{{caption}}}</div> }}
| rows =
{{infobox row|label=Added by|field={{ #if: {{{addedby|}}} | [[[{{{addedby}}}]] | ? }} }}
{{infobox row|label=Health Points|field={{ #if: {{{health|}}} | {{{health}}} | ? }} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack Strength|field={{{damage}}}}} }}
{{infobox row|label=Spawn|field={{ #if: {{{spawn|}}} | {{{spawn}}} | ? }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Scorepoints|field={{{score}}}}} }}
{{ #if: {{{id|}}} | {{infobox row|label=ID in Network Traffic (byte)|field={{{id}}}}} }}
{{ #if: {{{entityid|}}} | {{infobox row|label=ID in Saved Games(String)|field={{{entityid}}}}} }}
{{ #if: {{{drops|}}} | {{infobox row|label=Drops|field={{{drops|}}}}} }}
{{ #if: {{{exp|}}} | {{infobox row|label=Experience|field={{{exp}}}}} }}
{{ #if: {{{sounds|}}} | {{infobox row|label=Sounds|field={{{sounds|}}}}} }}
}}</includeonly><noinclude>
{{/doc}}


|-
[[Category:Infobox templates|M]]
! class="wikia-infobox-header" colspan="2" | {{{title|{{PAGENAME}}}}}
</noinclude>
 
|-
{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|175}}}px|{{{imagecaption|}}}]]
| }}
 
|-
{{#if: {{{imagecaption|}}} |
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
| }}
 
|-
! Health
|{{#if: {{{health|}}}
| {{{health}}} {{#ifexpr: ({{{health|0}}}/2) <= 5 | ({{Heart|hearts={{#expr:{{{health|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{health|0}}}/2}}}}) }}
| ''Unknown''
}}
 
|-
! Damage
| {{{damage|''Unknown''}}} {{#ifexpr: {{{damage|0}}} > 0 | {{#ifexpr: ({{{damage|0}}}/2) <= 5 | ({{Heart|hearts={{#expr: {{{damage|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage|0}}}/2}}}}) }} }}
 
|-
{{#if: {{{damage-peaceful|}}} |
! Damage (Peaceful)
{{!}} {{{damage-peaceful|0}}} {{#ifexpr: {{{damage-peaceful|0}}} > 0 | {{#ifexpr: ({{{damage-peaceful|0}}}/2) <= 5 | ({{Heart|hearts={{#expr: {{{damage-peaceful|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage-peaceful|0}}}/2}}}}) }} }}
| }}
 
|-
{{#if: {{{damage-easy|}}} |
! Damage (Easy)
{{!}} {{{damage-easy|}}} {{#ifexpr: {{{damage-easy|0}}} > 0 | {{#ifexpr: ({{{damage-easy|0}}}/2) <= 5 | ({{Heart|hearts={{#expr: {{{damage-easy|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage-easy|0}}}/2}}}}) }} }}
| }}
 
|-
{{#if: {{{damage-normal|}}} |
! Damage (Normal)
{{!}} {{{damage-normal|}}} {{#ifexpr: {{{damage-normal|0}}} > 0 | {{#ifexpr: ({{{damage-normal|0}}}/2) <= 5 | ({{Heart|hearts={{#expr: {{{damage-normal|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage-normal|0}}}/2}}}}) }} }}
| }}
 
|-
{{#if: {{{damage-hard|}}} |
! Damage (Hard)
{{!}} {{{damage-hard|''Unknown''}}} {{#ifexpr: {{{damage-hard|0}}} > 0 | {{#ifexpr: ({{{damage-hard|0}}}/2) <= 5 | ({{Heart|hearts={{#expr: {{{damage-hard|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage-hard|0}}}/2}}}}) }} }}
| }}
 
|-
{{#if: {{{damage-info|}}} |
! Damage Info
{{!}} {{{damage-info}}}
| }}
 
|-
! Armor
|{{#if: {{{armor|}}}
| {{{armor}}} {{#ifexpr: {{{armor|0}}} > 0 | {{#ifexpr: ({{{armor|0}}}/2) <= 5 | ({{Armor|armors={{#expr: {{{armor|0}}}/2}}}}) | ({{Armor|armors=1|mult={{#expr:{{{armor|0}}}/2}}}}) }} }}
| ''Unknown''
}}
 
|-
{{#if: {{{armor-info|}}} |
! Armor Info
{{!}} {{{armor-info}}}
| }}
 
|-
{{#if: {{{speed|}}} |
! Speed
{{!}} {{{speed}}}
| }}
 
|-
! Hostile
| {{{hostile|''Unknown''}}}
 
|-
{{#if: {{{spawn|}}} |
! Spawns
{{!}} {{{spawn}}}
| }}
 
|-
{{#if: {{{breedable|}}} |
! Breedable?
{{!}} {{{breedable}}}
| }}
 
|-
{{#if: {{{mountable|}}} |
! Mountable?
{{!}} {{{mountable}}}
| }}
 
|-
{{#if: {{{tameable|}}} |
! Tameable?
{{!}} {{{tameable}}}
| }}
 
|-
{{#if: {{{drops|}}} |
! Drops
{{!}} {{{drops}}}
| }}
 
|-
{{#if: {{{addedby|}}} |
! Added By
{{!}} {{#if: {{{nomodlink|}}} | {{{addedby}}} | [[{{{addedby}}}]] }}
| }}
 
|- style="font-size:0; line-height:0;"
! style="width:50%; padding:0" |
! style="width:50%; padding:0" |
 
|}{{#if: {{{clear|}}} | <div style="clear: {{{clear}}};"></div> | }}{{#if: {{{notypecat|}}} | | {{#if: {{{typecat|}}} | [[Category:{{{typecat}}}]] | {{#if: {{{type|}}} | [[Category:{{{type}}}]] | }} }} }}{{#if: {{{noaddedbycat|}}} | | {{#if: {{{addedbycat|}}} | [[Category:{{{addedbycat}}}]] | {{#if: {{{addedby|}}} | [[Category:{{{addedby}}}]] | }} }} }}{{#if: {{{nomobcat|}}} | | [[Category:Mobs]]}}{{#ifexpr: {{#if: {{{health|}}} | 0 | 1}} or {{#if: {{{damage|{{{damage-easy|}}}{{{damage-normal|}}}{{{damage-hard|}}}}}} | 0 | 1}} or {{#if: {{{armor|}}} | 0 | 1}} or {{#if: {{{hostile|}}} | 0 | 1}} | [[Category:Incomplete Templates]] | }}{{#if: {{{nohostilecat|}} | | {{#if: {{{hostile|}}} | [[Category:{{{hostile}}}]] | }}}}</includeonly><noinclude><br style="clear:both;"/>
{{/doc}}</noinclude>

Revision as of 15:38, 5 October 2013

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis