Template:Premium/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>-Mongoose-
reverting to good version
ROWiki>-Mongoose-
re-enabling default image
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>
Line 13: Line 12:


{{#if: {{{image|}}}
{{#if: {{{image|}}}
    | <tr><td colspan="2" style="padding: 8px;">[[File:{{{image}}}|frameless|center]]</td></tr>


<!-- why is this not centering the image? -->
     | {{#ifexist: Image: {{trimd|{{{name}}}}} |
 
        <tr><td colspan="2" style="padding: 8px;">[[Image: {{trimd|{{{name}}}}}|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>
}}
}}

Revision as of 22:16, 28 November 2014