Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
imported>Grzib
mNo edit summary
Line 1: Line 1:
{{#if: {{{head|}}}|<tr style="{{#switch: {{{color}}}
{{#if: {{{head|}}}|<tr style="{{#switch: {{{color}}}
|orange=background-color: #ff9933;
  |orange=background-color: #ff9933;
|green=background-color: #34cb34;
  |green=background-color: #34cb34;
|purple=background-color: #e066ff;
  |purple=background-color: #e066ff;
|yellow=background-color: #e6e600;}}">
  |yellow=background-color: #e6e600;}}">
<th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th>
  <th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th>
<th>Name</th>
  <th>Name</th>
<th style="width:100%;">Description</th>
  <th style="width:100%;">Description</th>
<th style="border-radius:0 0.6em 0 0;">Materials</th>
  <th style="border-radius:0 0.6em 0 0;">Materials</th>
</tr>|<tr style="{{#switch: {{{color}}}
</tr>
|orange=background-color: #ff993370;
|<tr style="{{#switch: {{{big}}}
|green=background-color: #34cb3470;
  |orange=background-color: #ff993370;
|purple=background-color: #e066ff70;
  |green=background-color: #34cb3470;
|yellow=background-color: #e6e60070;}}">
  |purple=background-color: #e066ff70;
   <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|
  |yellow=background-color: #e6e60070;}}">
          {{#if: {{{orange|}}}|64px|
   <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}]]</th>
          {{#if: {{{green|}}}|64px|
          {{#if: {{{purple|}}}|64px|
          {{#if: {{{yellow|}}}|64px|48px}} }} }} }}]]</th>
   <th class="name">{{{name}}}</th>
   <th class="name">{{{name}}}</th>
   <td>{{{description}}}</td>
   <td>{{{description}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
</tr>}}
</tr>
}}

Revision as of 20:06, 13 December 2020

[[File:{{{icon}}}.png|48px]] {{{name}}} {{{description}}} {{{materials}}}