Changes

no edit summary
Line 1: Line 1: −
{{#css:MediaWiki:Prime.css}}
+
<includeonly>{{#css:MediaWiki:Prime.css}}
 
{{#vardefine:Style|{{{Style|default}}}}}
 
{{#vardefine:Style|{{{Style|default}}}}}
 
{{#vardefine:Dice|{{uc:{{{Dice|red_white}}}}}}}
 
{{#vardefine:Dice|{{uc:{{{Dice|red_white}}}}}}}
 +
<div id="prime-character" style="width: 100%; max-width: 640px; min-width: 450px; position: relative;" class="{{#var:Style}}">
 +
  <div style="width: 100%; margin-left: auto; margin-right: auto; position: relative; padding-top: 10px;">
   −
 
+
     <div id="prime-name">
      
+
       <div class="{{#var:Style}}" style="width: calc(100% - 10px); padding: 5px; font-weight: bold; font-size: 20px;">
        
+
         <div style="float: left;">{{{Name|Character Name}}}</div>
         {{{Name|Character Name}}}
+
        {{#if:{{{Alias|}}}|<div style="float: right; font-size: 16px; font-weight: normal;">{{{Alias}}}</div>|}}
 +
        <div style="clear: both;"></div>
 +
      </div>
 +
    </div>
   −
         {{#if:{{{Alias|}}}|{{{Alias}}}
+
    <div style="overflow: hidden;">
|}}
+
      {{#ifeq: RIGHT | {{uc:{{{Orientation|RIGHT}}}}}|
          
+
         <div style="float: right; width: 35%; padding: 5px; text-align: center;">
 
+
          {{#if:{{{Picture|}}}|[[File:{{{Picture}}}|200px|class=fit]]|}}
        
+
          <div style="font-size: 12px; font-style: italic; margin-top: 5px;">{{{Description|}}}</div>
 
+
         </div>
   
+
       |}}
   −
   
+
       <div style="width: 60%; float: left; margin-bottom: -1000px; padding-bottom: 1000px;">
        
   
         {{{Modules|}}}
 
         {{{Modules|}}}
        
+
       </div>
 
  −
      {{#if:{{{Picture|}}}|
  −
     
  −
        [[File:{{{Picture}}}|200px|class=fit]]
  −
        {{{Description|}}}
  −
 
  −
     
      +
      {{#ifeq: LEFT | {{uc:{{{Orientation|RIGHT}}}}}|
 +
        <div style="float: left; width: 35%; padding: 5px; text-align: center;">
 +
          {{#if:{{{Picture|}}}|[[File:{{{Picture}}}|200px|class=fit]]|}}
 +
          <div style="font-size: 12px; font-style: italic; margin-top: 5px;">{{{Description|}}}</div>
 +
        </div>
 
       |}}
 
       |}}
      
+
      <div style="clear: both;"></div>
 
+
     </div>
 
      +
    {{#ifeq:{{#var:Style}}|gijoe|<div style="position: absolute; top: 25px; {{lc:{{{Orientation|right}}}}}: 20px; z-index: 10;">[[File:Ff_logo_gijoe.png|120px]]</div>|}}
 +
    {{#ifeq:{{#var:Style}}|cobra|<div style="position: absolute; top: 15px; {{lc:{{{Orientation|right}}}}}: 40px; z-index: 10;">[[File:Ff_logo_cobra.png|55px]]</div>|}}
 +
  </div>
 +
</div>
 
[[Category:Cortex Prime]]
 
[[Category:Cortex Prime]]
[[Category:Templates]]
+
[[Category:Templates]]</includeonly>