Difference between revisions of "Template:MelodieCharacter"

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

Latest revision as of 08:50, 5 December 2015