Difference between revisions of "Template:MelodieCharacter"

From RPC Library
Jump to navigation Jump to search
m
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="clear: both;">
 
<div style="clear: both;">
{{if|{{{character_left}}}|
+
{{#if:{{{character_left|}}}|
<div style="float:left; width: 370px; overflow: hidden;padding:  20px 40px;border-radius: 7px;box-shadow: 0px 2px 6px #828282, 0px 8px 19px #CACACA;">
+
<div style="float:left; margin-bottom: 30px; width: 370px; overflow: hidden;padding:  30px 40px;border-radius: 7px;box-shadow: 0px 2px 6px #828282, 0px 8px 19px #CACACA; height: {{{height|auto}}};">
 +
{{#if:{{{image_left|}}}|
 
{{MelodieImage
 
{{MelodieImage
 
|image        = {{{image_left}}}
 
|image        = {{{image_left}}}
 
|width        = 350px
 
|width        = 350px
 
}}
 
}}
<span style=" font-weight:bold; font-size:20px; display:block;border-bottom: 1px solid #CECECE;padding-bottom: 11px;margin-bottom: 10px;">
+
}}
<span>[[{{{character_left}}}]]</span>
+
<div style="font-weight:bold; font-size:20px;border-bottom: 1px solid #CECECE;padding-bottom: 11px;margin-top:{{#if:{{{image_left|}}}|15px|0px}};"><div style="display: inline;">[[{{{character_left}}}]]</div><div style="display: inline; margin-left: 11px;word-spacing: -2px;">{{{flags_left|}}}</div></div>
<span style="margin-left: 11px;word-spacing: -2px;">
 
{{{flags_left|}}}
 
</span>
 
</span>
 
 
<p>{{{content_left}}}</p>
 
<p>{{{content_left}}}</p>
 
</div>
 
</div>
|}}
+
}}
{{if|{{{character_right}}}|
+
{{#if:{{{character_right|}}}|
<div style="float:right; width: 370px; overflow: hidden;padding:  20px 40px;border-radius: 7px;box-shadow: 0px 2px 6px #828282, 0px 8px 19px #CACACA;">
+
<div style="float:right; margin-bottom: 30px; width: 370px; overflow: hidden;padding:  30px 40px;border-radius: 7px;box-shadow: 0px 2px 6px #828282, 0px 8px 19px #CACACA; height: {{{height|auto}}};">
 +
{{#if:{{{image_right|}}}|
 
{{MelodieImage
 
{{MelodieImage
 
|image        = {{{image_right}}}
 
|image        = {{{image_right}}}
 
|width        = 350px
 
|width        = 350px
 
}}
 
}}
<span style=" font-weight:bold; font-size:20px; display:block;border-bottom: 1px solid #CECECE;padding-bottom: 11px;margin-bottom: 10px;">
+
}}
<span>[[{{{character_right}}}]]</span>
+
<div style="font-weight:bold; font-size:20px;border-bottom: 1px solid #CECECE;padding-bottom: 11px;margin-top:{{#if:{{{image_right|}}}|15px|0px}};"><div style="display: inline;">[[{{{character_right}}}]]</div><div style="display: inline; margin-left: 11px;word-spacing: -2px;">{{{flags_right|}}}</div></div>
<span style="margin-left: 11px;word-spacing: -2px;">
 
{{{flags_right|}}}
 
</span>
 
</span>
 
 
<p>{{{content_right}}}</p>
 
<p>{{{content_right}}}</p>
 
</div>
 
</div>
|}}
+
}}
 
</div>
 
</div>

Latest revision as of 08:50, 5 December 2015