Template:Premium/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Erica conjurer
Moving the brief info line out of the conditional so we don't have to retype each time.
m 44 revisions imported
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>__NOEDITSECTION__
<onlyinclude><includeonly>__NOEDITSECTION__
{| width="100%"
{| width="100%"
|}
|}
<table cellpadding="3" style="float:right; background-color:#CCDEFF;
<table cellpadding="3" style="float:right; background-color:#125653;
   border:1em white; 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: #A3C4FF">
 
    <th colspan="2"> {{{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>
     <tr><td colspan="2" style="line-height:8px; background-color:#A3C4FF"></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>
Line 26: Line 32:
--></table>
--></table>
'''{{trimd|{{{name}}}}}''' is a {{{type}}} item.
'''{{trimd|{{{name}}}}}''' is a {{{type}}} item.
{{#if: {{{info|}}}
{{#if: {{{info|}}}
   | {{{info}}}
   | {{{info}}}
}}
}}
</onlyinclude>
 
{{#if: {{{notes|}}}
  | ==Notes==
<!--
-->{{{notes}}}
}}
 
{{premium nav}}
<!-- Categories -->
[[Category: Premium Content]]
</includeonly></onlyinclude>

Latest revision as of 12:20, 7 November 2020