Template:DQItem: Difference between revisions
From Dragon Quest Wiki
(created initial template. please report any bugs or errors) |
Limp Bizkit (talk | contribs) m (fixed capitalization stuff) |
||
(5 intermediate revisions by 2 users not shown) | |||
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">'''Usable outside of battle?'''</td> | ||
<td style="background-color: | <td style="background-color: #f9e468; padding: 2px; width: 50%; text-align: center;">'''Usable 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; border-right: 1px solid | | #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 48: | Line 48: | ||
| n | | n | ||
| N = <td style="padding: 2px; height: 24px; text-align: center; background-color: #ffb7b7; color: #880000">[[File:ICON-NO-X.png]] '''NO'''</td> | | 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;">???</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> | ||
<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: {{{ | <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> | ||
Line 86: | Line 86: | ||
|sell=4 gold | |sell=4 gold | ||
|out-of-battle=yes | |out-of-battle=yes | ||
|in-battle= | |in-battle= | ||
| | |shops=[[Tantegel|Brecconary]], [[Galenholm]], [[Kol]], [[Cantlin]] | ||
| | |locations=King's chamber in [[Tantegel]] | ||
|effect=Used in dungeons to light them up. Only illuminates tiles adjacent to the player, but its effect lasts until the player exits the dungeon. | |effect=Used in dungeons to light them up. Only illuminates tiles adjacent to the player, but its effect lasts until the player exits the dungeon. | ||
|description=Lights up the darkness of dungeons. | |description=Lights up the darkness of dungeons. | ||
Line 104: | Line 104: | ||
|out-of-battle= | |out-of-battle= | ||
|in-battle= | |in-battle= | ||
| | |shops= | ||
| | |locations= | ||
|description= | |description= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 11:13, 19 April 2020
This is a template for items as they appear in Dragon Quest. For appearances in other games, please use the corresponding item template.
Example[edit]
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. |
Usable outside of battle? | Usable in battle? |
YES | ??? |
Shop(s) | Brecconary, Galenholm, Kol, Cantlin |
Location(s) | King's chamber in Tantegel |
In-game description | |
Mobile | Lights up the darkness of dungeons. |
Usage[edit]
{{DQItem |name= |kanji= |romanji= |buy= |sell= |effect= |out-of-battle= |in-battle= |shops= |locations= |description= }}