Template:DQItem: Difference between revisions
From Dragon Quest Wiki
(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: # | <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: # | <div style="background-color: #fff2aa; border-radius: 5px; padding: 3px;"> | ||
<div style="padding: 3px; "> | <div style="padding: 3px; "> | ||
<table style="border: 1px solid | <table style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%; margin-bottom: 5px" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="background-color: # | <td style="background-color: #f9e468; padding: 2px; width: 100px; text-align: center; border-right: 1px solid #dbaf20">'''Buy'''</td> | ||
<td style="background-color: # | <td style="background-color: #f9e468; padding: 2px; width: 100px; text-align: center; border-right: 1px solid #dbaf20">'''Sell'''</td> | ||
<td style="background-color: # | <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 | <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 | <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 | <table style="border: 1px solid #dbaf20; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="background-color: | <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: | <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 | | 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 | | 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 | <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: | <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 | <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: | <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 | <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: | <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 | <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> |
Revision as of 18:51, 25 October 2017
This is a template for items as they appear in Dragon Quest. For appearances in other games, please use the corresponding item template.
Example
Buy | Sell | Effect |
8 gold | 4 gold | Used in dungeons to light them up. Only illuminates tiles adjacent to the player, but its effect lasts until the player exits the dungeon. |
Can Be Used Outside Of Battle? | Can Be Used In Battle? |
YES | ??? |
Shop(s) | Brecconary, Garinham, Kol, Cantlin |
Location(s) | King's chamber in Tantegel |
In-Game Description | |
Mobile | Lights up the darkness of dungeons. |
Usage
{{DQItem |name= |kanji= |romanji= |buy= |sell= |effect= |out-of-battle= |in-battle= |shops= |locations= |description= }}