Template:Blockgame Character: Difference between revisions

Removed *if* from Location and Role. (Should me mandatory). Next try to fix the check-up for level and health.
m (Test if checkup is fixed)
(Removed *if* from Location and Role. (Should me mandatory). Next try to fix the check-up for level and health.)
Line 6: Line 6:
|-
|-
| colspan="2" style="background-color: #ddd; text-align: center;" | '''Character Details'''
| colspan="2" style="background-color: #ddd; text-align: center;" | '''Character Details'''
|-
{{#if: {{{location|}}} | <!-- Check if location is provided -->
|-
|-
| Location: || {{{location}}}
| Location: || {{{location}}}
}}
{{#if: {{{role|}}} | <!-- Check if role is provided -->
|-
|-
| Role: || {{{role}}}
| Role: || {{{role}}}
}}
{{#if: {{{level|}}} | <!-- Check if level is provided -->
|-
| Level: || {{{level}}}
}}
{{#if: {{{health|}}} | <!-- Check if health is provided -->
|-
|-
| Health: || {{{health}}}
{{#ifeq: {{{level|}}}| | |Level: {{{level}}}}}
}}
{{#ifeq: {{{health|}}}| | |Health: {{{health}}}}}
|}
|}