Template:Infobox entity: Difference between revisions

replaced template with mobs template + firstver
spawn not mandatory.
Line 9: Line 9:
{{infobox row|label=Health Points|field={{ #if: {{{health|}}} | {{{health}}} | ? }} }}
{{infobox row|label=Health Points|field={{ #if: {{{health|}}} | {{{health}}} | ? }} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack Strength|field={{{damage}}}}} }}
{{ #if: {{{damage|}}} | {{infobox row|label=Attack Strength|field={{{damage}}}}} }}
{{infobox row|label=Spawn|field={{ #if: {{{spawn|}}} | {{{spawn}}} | ? }} }}
{{ #if: {{{spawn|}}} | {{infobox row|label=Spawn|field={{{spawn}}} }} }}
{{ #if: {{{score|}}} | {{infobox row|label=Scorepoints|field={{{score}}}}} }}
{{ #if: {{{score|}}} | {{infobox row|label=Scorepoints|field={{{score}}}}} }}
{{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }}
{{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }}