Template:Premium/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>-Mongoose-
fixing comment to disable
ROWiki>-Mongoose-
reverting to good version
Line 3: Line 3:
|}
|}
<table cellpadding="3" style="float:right; background-color:#125653;
<table cellpadding="3" style="float:right; background-color:#125653;
   border:solid silver; border-style:none none none none" >
   border:solid silver; border-style:none none none none"
>
   <tr style="font-size:85%; line-height:85%; text-align:right">
   <tr style="font-size:85%; line-height:85%; text-align:right">
     <td colspan="2"> ''Premium Item'' </td>
     <td colspan="2"> ''Premium Item'' </td>
   </tr>
   </tr>
   <tr style="font-size:125%; background-color: #297a77">
   <tr style="font-size:125%; background-color: #297a77">
 
     <th colspan="2">{{#if:{{{icon|}}}|[[File:{{{icon}}}|36px|frameless|{{PAGENAME}}]]}} {{{name}}} </th>
     <th colspan="2">
        {{#if:{{{icon|}}}|
            [[File:{{{icon}}}|36px|frameless|{{PAGENAME}}]] <!--|
            {{#ifexist:Image:{{trimd|{{{name}}}}} |
            [[Image:{{trimd|{{{name}}}}} Icon.png|36px|frameless|{{PAGENAME}}]]
            }} |-->
        }} {{{name}}}  
    </th>
   </tr>
   </tr>


{{#ifexist: Image:{{{image|}}}
{{#if: {{{image|}}}
 
<!-- why is this not centering the image? -->
<!-- why is this not centering the image? -->


     | <tr><td colspan="2" style="padding: 8px;">[[Image:{{{image}}}|frameless|center]]</td></tr>
     | <tr><td colspan="2" style="padding: 8px;">[[File:{{{image}}}|frameless|center]]</td></tr>
     <tr><td colspan="2" style="line-height:8px; background-color:#297a77"></td></tr>
     <tr><td colspan="2" style="line-height:8px; background-color:#297a77"></td></tr>
    | {{#ifexist: Image:{{trimd|{{{name}}}}} Image.png |
        <tr><td colspan="2" style="padding: 8px;">[[Image:{{trimd|{{{name}}}}} Image.png|frameless|center]]</td></tr>
            <tr><td colspan="2" style="line-height:8px; background-color:#297a77"></td></tr>
      }}
}}
}}
   <tr><td>'''Cost:'''</td><td>[[File:Ximerin_Icon.png|Ximerin|frameless]] {{{cost}}}</td></tr>
   <tr><td>'''Cost:'''</td><td>[[File:Ximerin_Icon.png|Ximerin|frameless]] {{{cost}}}</td></tr>

Revision as of 21:06, 28 November 2014