Template:DQH2Enemy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Rigel Kent (talk | contribs) m (rewrote head as flex instead of table layout, allow more width on mobile) |
||
| (12 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background-color: #02C0E4; padding: | <div style="background-color: #02C0E4; padding: 3px; border-radius: 7px; max-width: 63em;"> | ||
<div style=" | <div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;"> | ||
< | <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romaji|}}} | ''{{{romaji}}}'' }})}}</div> | ||
<div>[[File:DQHII_Logo.png|50px|link=Dragon Quest Heroes II: Twin Kings and the Prophecy's End|alt=Dragon Quest Heroes II: Twin Kings and the Prophecy's End]]</div> | |||
</div> | |||
<div style="background-color: #ffffff; border-radius: 5px; padding: 3px;"> | <div style="background-color: #ffffff; border-radius: 5px; padding: 3px;"> | ||
<table style="border: 1px solid #2ab0cb; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid #2ab0cb; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">''' | <td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''Model'''</td> | ||
<td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">''' | <td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''{{Exp}}erience'''</td> | ||
<td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''Gold'''</td> | <td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''[[Gold]]'''</td> | ||
<td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''Marked Version?'''</td> | <td style="background-color: #02C0E4; padding: 2px; width: 64px; text-align: center; border-right: 1px solid #2ab0cb">'''Marked Version?'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="padding: 2px; width: | <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right:1px solid #2ab0cb">{{#if: {{{image|}}} | {{{image}}} }}</td> | ||
<td style="padding: 2px; width: | <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid #2ab0cb">{{#if:{{{exp|}}}|{{{exp}}}|?}}</td> | ||
<td style="padding: 2px; width: | <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid #2ab0cb">{{#if:{{{gold|}}}|{{{gold}}}|?}}</td> | ||
<td style="padding: 2px; width: | <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid #2ab0cb">{{#if:{{{markedVersion|}}}|{{{markedVersion}}}|?}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 25: | Line 26: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="width: | <td style="width: 25%; height: 24px; background-color: #02C0E4; border-bottom: 1px solid #2ab0cb; border-right: 1px solid #2ab0cb">'''Field Notes'''</td> | ||
<td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{fieldNotes|}}} | ''{{{fieldNotes}}}'' }}</td> | <td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{fieldNotes|}}} | ''{{{fieldNotes}}}'' }}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="width: | <td style="width: 25%; height: 24px; background-color: #02C0E4; border-bottom: 1px solid #2ab0cb; border-right: 1px solid #2ab0cb;">'''Location(s)'''</td> | ||
<td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{locations|}}} | '''{{{locations}}}''' }}</td> | <td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{locations|}}} | '''{{{locations}}}''' }}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="width: | <td style="width: 25%; height: 24px; background-color: #02C0E4; border-right: 1px solid #2ab0cb;">'''Item(s) Dropped'''</td> | ||
<td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{item|}}} | '''{{{item}}}''' }}</td> | <td style="text-align: center; border-bottom: 1px solid #2ab0cb;">{{#if: {{{item|}}} | '''{{{item}}}''' }}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 45: | Line 44: | ||
</div> | </div> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly><noinclude> | ||
<noinclude> | This is a template for enemies as they appear in {{DQH2}}. For appearances in other games, please use the corresponding enemy template. | ||
This is a template for enemies as they appear in | |||
==Example== | ==Example== | ||
{{DQH2Enemy | {{DQH2Enemy | ||
|name=Slime | |name=Slime | ||
|kanji= | |kanji=スライム | ||
| | |romaji={{tt|Suraimu|Slime}} | ||
|listNumber=001 | |listNumber=001 | ||
|fieldNotes=It's a slime.<br/>Yep. It's a slime, alright. | |fieldNotes=It's a slime.<br/>Yep. It's a slime, alright. | ||
| Line 60: | Line 58: | ||
|gold=1 | |gold=1 | ||
|markedVersion=Yes | |markedVersion=Yes | ||
|item=Slimedrop (common), Salt of the earth (rare) | |item=[[Slimedrop]] (common), [[Salt of the earth]] (rare) | ||
|locations=Greena Pastures | |locations=Greena Pastures | ||
}} | }} | ||
| Line 69: | Line 67: | ||
|name= | |name= | ||
|kanji= | |kanji= | ||
| | |romaji= | ||
|listNumber= | |listNumber= | ||
|fieldNotes= | |fieldNotes= | ||
| Line 76: | Line 74: | ||
|gold= | |gold= | ||
|markedVersion= | |markedVersion= | ||
| | |item= | ||
|locations= | |locations= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | |||
<noinclude> | |||
[[Category:Enemy templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:45, 20 April 2025
This is a template for enemies as they appear in Dragon Quest Heroes II: Twin Kings and the Prophecy's End. For appearances in other games, please use the corresponding enemy template.
Example[edit]
| Model | Experience | Gold | Marked Version? |
| 1 | 1 | Yes |
| List No. | 001 |
| Field Notes | It's a slime. Yep. It's a slime, alright. |
| Location(s) | Greena Pastures |
| Item(s) Dropped | Slimedrop (common), Salt of the earth (rare) |
Usage[edit]
{{DQH2Enemy
|name=
|kanji=
|romaji=
|listNumber=
|fieldNotes=
|image=
|exp=
|gold=
|markedVersion=
|item=
|locations=
}}