Template:DQEquipment: Difference between revisions

created template for equipment in the original Dragon Quest
 
added section for use as tool in battle
Line 25: Line 25:
       <tr>
       <tr>
         <td style="background-color:  #f4ce81; padding: 2px; width: 50%; text-align: center; border-right: 1px solid orange">'''Can Be Equipped By'''</td>
         <td style="background-color:  #f4ce81; padding: 2px; width: 50%; text-align: center; border-right: 1px solid orange">'''Can Be Equipped By'''</td>
         <td style="background-color:  #f4ce81; padding: 2px; width: 50%; text-align: center;">'''Equipment Type'''</td>
         <td style="background-color:  #f4ce81; padding: 2px; width: 25%; text-align: center; border-right: 1px solid orange;">'''Equipment Type'''</td>
        <td style="background-color:  #f4ce81; padding: 2px; width: 25%; text-align: center; font-size: 12px;">'''Can Be Used As Tool In Battle?'''</td>
       </tr>
       </tr>
       <tr>
       <tr>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid orange">'''{{#if: {{{can-equip|}}} |  {{{can-equip}}} | ???}}'''</td>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid orange">'''{{#if: {{{can-equip|}}} |  {{{can-equip}}} | ???}}'''</td>
       <td style="padding: 2px; height: 24px; text-align: center;"> '''{{#if: {{{type|}}} |  {{{type}}} | ???}}'''</td>
       <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid orange;"> '''{{#if: {{{type|}}} |  {{{type}}} | ???}}'''</td>
        {{#switch: {{{in-battle|}}}
          | yes
          | YES
          | y
          | Y = <td style="padding: 2px; height: 24px; text-align: center; background-color: #9eff9e; color: #008800">[[File:ICON-YES-CHECK.png]] '''YES'''</td>
          | no
          | NO
          | n
          | N = <td style="padding: 2px; height: 24px; text-align: center; background-color: #ffb7b7; color: #880000">[[File:ICON-NO-X.png]] '''NO'''</td>
          | #default = <td style="padding: 2px; height: 24px; text-align: center; background-color: #eee">[[File:ICON-INFO-QUESTION.png]] '''{{#if: {{{in-battle|}}} |  {{{in-battle}}} | ???}}'''</td>
        }}
       </tr>
       </tr>
     </table>
     </table>