Template:Premium/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>100PercentRatedR
mNo edit summary
m 44 revisions imported
 
(24 intermediate revisions by one other user not shown)
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">
 
    <th colspan="2">{{#if:{{{icon|}}}|[[File:{{{icon}}}|36px|frameless|{{PAGENAME}}]]}} {{{name}}} </th>
<tr style="font-size:125%; background-color: #297a77">
  </tr>
<th colspan="2" style="padding: 8px;">
{{#if: {{{icon|}}}
    | [[File:{{{icon}}}|frameless|36px]]
    | {{#ifexist: Image: {{trimd|{{{name}}}}} Icon.png |
    [[Image: {{trimd|{{{name}}}}} Icon.png|frameless|36px]]
    }}
}} {{{name}}}</th>
</tr>


{{#if: {{{image|}}}
{{#if: {{{image|}}}
<!-- why is this not centering the image? -->
     | <tr><td colspan="2" style="padding: 8px;">[[File:{{{image}}}|frameless|center]]</td></tr>
     | <tr><td colspan="2" style="padding: 8px;">[[File:{{{image}}}|frameless|center]]</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 colspan="2" style="line-height:8px; background-color:#297a77"></td></tr>
}}
}}

Latest revision as of 12:20, 7 November 2020