Template:Blockgame Character: Difference between revisions

From Blockgame Wiki
(Removed *if* from Location and Role. (Should me mandatory). Next try to fix the check-up for level and health.)
No edit summary
Line 1: Line 1:
{| class="infobox" style="float: right; margin-left: 10px; border: 1px solid #ccc; padding: 10px;"
{| class="infobox" style="float: right; margin-left: 10px; border: 1px solid #ccc; padding: 10px;"
|-
|-
! colspan="2" style="text-align: center; font-size: 120%;" | {{{title}}}
! colspan="2" style="background-color: #ddd; text-align: center; font-size: 125%; padding: 5px" | {{#if: {{{title}}} | {{{title}}} | {{PAGENAME}}}}
|-
|-
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|300px|{{{caption}}}]]
| colspan="2" style="text-align: center;" | {{#if: {{{image}}} | [[File:{{{image}}}|300px]] | [[File:Site-community-image.png|300px]]}}
|-
|-
| colspan="2" style="background-color: #ddd; text-align: center;" | '''Character Details'''
| colspan="2" style="background-color: #ddd; text-align: center;" | '''Character Details'''
|-
|-
| Location: || {{{location}}}
|{{#if: {{{role|}}}| Role: {{{role}}}|}}
|-
|-
| Role: || {{{role}}}
|{{#if: {{{location|}}}| Location: {{{location}}}|}}
|-
|-
{{#ifeq: {{{level|}}}| | |Level: {{{level}}}}}
|{{#if: {{{level|}}}| Level: {{{level}}}|}}
{{#ifeq: {{{health|}}}| | |Health: {{{health}}}}}
|-
|}
|{{#if: {{{level|}}}| Level: {{{level}}}|}}
|-
|{{#if: {{{health|}}}| Health: {{{health}}}|}}
|-
|}<includeonly>[[Category:NPC]]</includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>

Revision as of 16:14, 19 January 2024

{{{title}}}
[[File:{{{image}}}|300px]]
Character Details

Template:Blockgame Character/doc