Template:Infobox entity: Difference between revisions

Added more options to display damage
m "medium" to "normal"
Line 18: Line 18:
<data source="bedamage"><label>[[Bedrock Edition]]</label><format>{{#if:{{{short}}}||{{{bedamage}}}}}</format></data>
<data source="bedamage"><label>[[Bedrock Edition]]</label><format>{{#if:{{{short}}}||{{{bedamage}}}}}</format></data>
<data source="easydamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easydamage}}}}}</format></data>
<data source="easydamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easydamage}}}}}</format></data>
<data source="mediumdamage"><label>Medium</label><format>{{#if:{{{short}}}||{{{mediumdamage}}}}}</format></data>
<data source="normaldamage"><label>Normal</label><format>{{#if:{{{short}}}||{{{normaldamage}}}}}</format></data>
<data source="harddamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{harddamage}}}}}</format></data>
<data source="harddamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{harddamage}}}}}</format></data>
<data source="easyjedamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easyjedamage}}}}}</format></data>
<data source="easyjedamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easyjedamage}}}}}</format></data>
<data source="mediumjedamage"><label>Medium</label><format>{{#if:{{{short}}}||{{{mediumjedamage}}}}}</format></data>
<data source="normaljedamage"><label>Normal</label><format>{{#if:{{{short}}}||{{{normaljedamage}}}}}</format></data>
<data source="hardjedamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{hardjedamage}}}}}</format></data>
<data source="hardjedamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{hardjedamage}}}}}</format></data>
</group>
</group>
Line 27: Line 27:
<group layout="horizontal">
<group layout="horizontal">
<data source="easybedamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easybedamage}}}}}</format></data>
<data source="easybedamage"><label>Easy</label><format>{{#if:{{{short}}}||{{{easybedamage}}}}}</format></data>
<data source="mediumbedamage"><label>Medium</label><format>{{#if:{{{short}}}||{{{mediumbedamage}}}}}</format></data>
<data source="normalbedamage"><label>Normal</label><format>{{#if:{{{short}}}||{{{normalbedamage}}}}}</format></data>
<data source="hardbedamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{hardbedamage}}}}}</format></data>
<data source="hardbedamage"><label>Hard</label><format>{{#if:{{{short}}}||{{{hardbedamage}}}}}</format></data>
</group>
</group>
Line 42: Line 42:
</section>
</section>
<section>
<section>
<label>Medium</label>
<label>Normal</label>
<data source="mediumdamage"><format>{{#if:{{{short}}}|{{{mediumdamage}}}}}</format></data>
<data source="normaldamage"><format>{{#if:{{{short}}}|{{{normaldamage}}}}}</format></data>
</section>
</section>
<section>
<section>
Line 57: Line 57:
</section>
</section>
<section>
<section>
<label>Medium</label>
<label>Normal</label>
<header name="damagelabel">{{#if:{{{short}}}|{{#if:{{{mediumjedamage|}}}|''[[Java Edition]]''}}}}</header>
<header name="damagelabel">{{#if:{{{short}}}|{{#if:{{{normaljedamage|}}}|''[[Java Edition]]''}}}}</header>
<data source="mediumdamage"><format>{{#if:{{{short}}}|{{{mediumdamage}}}}}</format></data>
<data source="normaldamage"><format>{{#if:{{{short}}}|{{{normaldamage}}}}}</format></data>
<header name="damagelabel">{{#if:{{{short}}}|{{#if:{{{mediumbedamage|}}}|[[Bedrock Edition]]}}}}</header>
<header name="damagelabel">{{#if:{{{short}}}|{{#if:{{{normalbedamage|}}}|[[Bedrock Edition]]}}}}</header>
<data source="mediumbedamage"><format>{{#if:{{{short}}}|{{{mediumbedamage}}}}}</format></data>
<data source="normalbedamage"><format>{{#if:{{{short}}}|{{{normalbedamage}}}}}</format></data>
</section>
</section>
<section>
<section>