Template:DQItem: Difference between revisions

renamed two sections to be more logical
m changed up color scheme a bit. may be still to close to enemy pallet. feedback would be appreciated.
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #f4ce81; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="background-color: #f9e468; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="padding-left: 5px; padding-right: 5px; height: 32px;">
<div style="padding-left: 5px; padding-right: 5px; height: 32px;">
<table style="width: 100%">
<table style="width: 100%">
Line 8: Line 8:
</table>
</table>
</div>
</div>
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;">
<div style="background-color: #fff2aa; border-radius: 5px; padding: 3px;">
     <div style="padding: 3px; ">
     <div style="padding: 3px; ">
     <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-bottom: 5px" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%; margin-bottom: 5px" cellspacing="0" cellpadding="0">
       <tr>
       <tr>
         <td style="background-color:  #f4ce81; padding: 2px; width: 100px; text-align: center; border-right: 1px solid orange">'''Buy'''</td>
         <td style="background-color:  #f9e468; padding: 2px; width: 100px; text-align: center; border-right: 1px solid #dbaf20">'''Buy'''</td>
         <td style="background-color:  #f4ce81; padding: 2px; width: 100px; text-align: center; border-right: 1px solid orange">'''Sell'''</td>
         <td style="background-color:  #f9e468; padding: 2px; width: 100px; text-align: center; border-right: 1px solid #dbaf20">'''Sell'''</td>
         <td style="background-color:  #f4ce81; padding: 2px; text-align: center">'''Effect'''</td>
         <td style="background-color:  #f9e468; padding: 2px; text-align: center">'''Effect'''</td>
       </tr>
       </tr>
       <tr>
       <tr>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{buy|}}} | {{{buy}}} }}</td>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid #dbaf20">{{#if: {{{buy|}}} | {{{buy}}} }}</td>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{sell|}}}|{{{sell}}}|?}}</td>
         <td style="padding: 2px; height: 24px; text-align: center; border-right: 1px solid #dbaf20">{{#if:{{{sell|}}}|{{{sell}}}|?}}</td>
         <td style="padding: 2px; height: 24px; font-size: 12px">{{#if:{{{effect|}}}|{{{effect}}}|?}}</td>
         <td style="padding: 2px; height: 24px; font-size: 12px">{{#if:{{{effect|}}}|{{{effect}}}|?}}</td>
       </tr>
       </tr>
     </table>
     </table>
     <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
       <tr>
       <tr>
         <td style="background-color: #f4ce81; padding: 2px; width: 50%; text-align: center; border-right: 1px solid orange">'''Can Be Used Outside Of Battle?'''</td>
         <td style="background-color: #f9e468; padding: 2px; width: 50%; text-align: center; border-right: 1px solid #dbaf20">'''Can Be Used Outside Of Battle?'''</td>
         <td style="background-color: #f4ce81; padding: 2px; width: 50%; text-align: center;">'''Can Be Used In Battle?'''</td>
         <td style="background-color: #f9e468; padding: 2px; width: 50%; text-align: center;">'''Can Be Used In Battle?'''</td>
       </tr>
       </tr>
       <tr>
       <tr>
Line 32: Line 32:
           | YES  
           | YES  
           | y  
           | y  
           | Y = <td style="padding: 2px; height: 24px; text-align: center; background-color: #9eff9e; border-right: 1px solid orange; color: #008800">[[File:ICON-YES-CHECK.png]] '''YES'''</td>
           | Y = <td style="padding: 2px; height: 24px; text-align: center; background-color: #9eff9e; border-right: 1px solid #dbaf20; color: #008800">[[File:ICON-YES-CHECK.png]] '''YES'''</td>
           | no  
           | no  
           | NO  
           | NO  
           | n  
           | n  
           | N = <td style="padding: 2px; height: 24px; text-align: center; background-color: #ffb7b7; border-right: 1px solid orange; color: #880000">[[File:ICON-NO-X.png]] '''NO'''</td>
           | N = <td style="padding: 2px; height: 24px; text-align: center; background-color: #ffb7b7; border-right: 1px solid #dbaf20; 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: {{{out-of-battle|}}} |  {{{out-of-battle}}} | ???}}'''</td>
           | #default = <td style="padding: 2px; height: 24px; text-align: center; background-color: #eee; border-right: 1px solid #dbaf20">[[File:ICON-INFO-QUESTION.png]] '''{{#if: {{{out-of-battle|}}} |  {{{out-of-battle}}} | ???}}'''</td>
         }}
         }}
         {{#switch: {{{in-battle|}}}
         {{#switch: {{{in-battle|}}}
Line 53: Line 53:
     </table>
     </table>


     <table  style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0">
     <table  style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0">
       <tr>
       <tr>
         <td style="width: 128px; height: 24px; background-color: #f4ce81; border-bottom: 1px solid orange; border-right: 1px solid orange">'''Shop(s)'''</td>
         <td style="width: 128px; height: 24px; background-color: #f9e468; border-bottom: 1px solid #dbaf20; border-right: 1px solid #dbaf20">'''Shop(s)'''</td>
         <td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{shops|}}} | {{{shops}}} }}</td>
         <td style="text-align: center; border-bottom: 1px solid #dbaf20;">{{#if: {{{shops|}}} | {{{shops}}} }}</td>
       </tr>
       </tr>
       <tr>
       <tr>
         <td style="width: 100px; height: 24px; background-color: #f4ce81; border-right: 1px solid orange;">'''Location(s)'''</td>
         <td style="width: 100px; height: 24px; background-color: #f9e468; border-right: 1px solid #dbaf20;">'''Location(s)'''</td>
         <td style="text-align: center;">{{#if: {{{locations|}}} | {{{locations}}} }}</td>
         <td style="text-align: center;">{{#if: {{{locations|}}} | {{{locations}}} }}</td>
       </tr>
       </tr>
     </table>
     </table>
      
      
     <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0">
       <tr>
       <tr>
         <td colspan="2" style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center;">'''In-Game Description'''</td>
         <td colspan="2" style="background-color: #f9e468; padding: 2px; width: 64px; text-align: center;">'''In-Game Description'''</td>
       </tr>
       </tr>
       <tr>
       <tr>
         <td style="padding: 2px; width: 128px; height: 24px; text-align: center; border-right: 1px solid orange">'''Mobile'''</td>
         <td style="padding: 2px; width: 128px; height: 24px; text-align: center; border-right: 1px solid #dbaf20">'''Mobile'''</td>
         <td style="padding: 2px; height: 24px; text-align: center;">{{#if:{{{description|}}}|{{{description}}}|?}}</td>
         <td style="padding: 2px; height: 24px; text-align: center;">{{#if:{{{description|}}}|{{{description}}}|?}}</td>
       </tr>
       </tr>