Template:DQ3Enemy: Difference between revisions

Jump to navigation Jump to search
47 bytes added ,  01:42, 18 May 2020
testing splitting columns into more rows
(trying out % width instead of hard-coded values)
(testing splitting columns into more rows)
Line 15: Line 15:
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''HP'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''HP'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''MP'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''MP'''</td>
      </tr>
      <tr>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{sprite|}}} | {{{sprite}}} }}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{lvl|}}}|{{{lvl}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{hp|}}}|{{{hp}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{mp|}}}|{{{mp}}}|?}}</td>
      </tr>
      <tr>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''Attack'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''Attack'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''Defense'''</td>
         <td style="background-color:  #FFD700; padding: 2px; width: 11%; text-align: center; border-right: 1px solid orange">'''Defense'''</td>
Line 22: Line 30:
       </tr>
       </tr>
       <tr>
       <tr>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{sprite|}}} | {{{sprite}}} }}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{lvl|}}}|{{{lvl}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{hp|}}}|{{{hp}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{mp|}}}|{{{mp}}}|?}}</td>
         <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{attack|}}}|{{{attack}}}|?}}</td>
         <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{attack|}}}|{{{attack}}}|?}}</td>
         <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{defense|}}}|{{{defense}}}|?}}</td>
         <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{defense|}}}|{{{defense}}}|?}}</td>

Navigation menu