Template:DQB2Enemy: Difference between revisions

m image alt text
Day (talk | contribs)
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
[[Category:Enemy templates|{{PAGENAME}}]]
</noinclude>
<includeonly>
<includeonly>
<div style="background-color: #0080ff; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 80%;" >
<div style="background-color: #0080ff; padding: 3px; border-radius: 7px; max-width: 63em;" >
<div style="padding-left: 5px; padding-right: 5px; height: 36px; line-height: 32px;">
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;">
<table style="width: 100%"><tr>
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }}</div>
<td valign="top">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</td><td style="text-align:right">[[File:Dragon-quest-builders-2-logo.png|150px|link=Dragon Quest Builders 2|alt=Dragon Quest Builders 2]]</td>
    <div>[[File:Dragon-quest-builders-2-logo.png|150px|link=Dragon Quest Builders 2|alt=Dragon Quest Builders 2]]</div>
</tr></table>
</div>
<div style="background-color: #FFFFFF; border-radius: 5px; padding: 3px;">
    <table  style="border: 1px solid brown; border-radius: 3px; width: 99%; margin-top: 5px; border-right: 1px solid brown; text-align: center; height: 32px;" cellspacing="0" cellpadding="0">
      <tr>
        <td style="text-align: center;">{{#if: {{{sprite|}}} | {{{sprite}}} }}</td>
      </tr>
    </table>
 
    <div style="padding: 3px; ">
    <table style="border: 1px solid brown; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
      <tr>
        <td style="background-color:  #ffcc00; padding: 2px; width: 20%; text-align: center; border-right: 1px solid brown">'''{{HP}}'''</td>
        <td style="background-color:  #ffcc00; padding: 2px; width: 20%; text-align: center; border-right: 1px solid brown">'''{{Attack}}'''</td>
        <td style="background-color:  #ffcc00; padding: 2px; width: 25%; text-align: center; border-right: 1px solid brown">'''{{Defense}}'''</td>
        <td style="background-color:  #ffcc00; padding: 2x; width: 25%; text-align: center; border-right: 1px solid brown;">'''Item Dropped'''</td>
        <td style="background-color:  #ffcc00; padding: 2x; width: 25%; text-align: center; border-right: 1px solid brown;">'''Tamable'''</td>
      </tr>
      <tr>
        <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{hp|}}}|{{{hp}}}|?}}</td>
        <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{attack|}}|{{{attack}}}|?}}</td>
        <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{defense|}}}|{{{defense}}}|?}}</td>
        <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid brown">{{#if: {{{item|}}} | {{{item}}}}}</td>
        <td style="padding: 2px; width: 20%; height: 24px; text-align: center; border-right: 1px solid brown">{{#if: {{{tamable|}}} | {{{tamable}}}}}</td>
      </tr>
    </table>
 
    <table  style="border: 1px solid brown; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid brown; text-align: center; height: 32px;" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width: 25%; height: 24px; background-color:  #ffcc00; border-bottom: 1px solid brown; border-right: 1px solid brown">'''Locations'''</td>
        <td style="text-align: center; border-bottom: 1px solid brown;">{{#if: {{{locations|}}} | '''{{{Locations}}}''' }}</td>
      </tr>
      <tr>
      </tr>
    </table>
    </div>
</div>
</div>
<div style="background-color: #E4EFF0; border-radius: 5px; padding: 1px;">
{{paired list grid
| key background color = #0080ff
| border color = black
| span 1  = 3
| key 1    = Sprite
| value 1  = {{{sprite|}}}
| span 2  = 3
| key 2    = [[List of monsters in Dragon Quest Builders 2|No.]]
| value 2  = {{{Number|}}}
| span 3  = 3
| key 3    = Family
| value 3  = {{{family|}}}
| span 4  = 3
| key 4    = [[List of recruitable monsters in Dragon Quest Builders 2|Tameable]]
| value 4  = {{{tameable|}}}
| key 5    = {{Exp}}erience
| value 5  = {{{exp|?}}}
| key 6    = {{HP}}
| value 6  = {{{hp|?}}}
| key 7    = {{Attack}}
| value 7  = {{{attack|?}}}
| key 8    = {{Defence}}
| value 8  = {{{defence| {{{defense|}}} }}}</span>
}}
{{paired list stack
| key background color = #0080ff
| border color = black
| key 1  = Spell(s)
| value 1 = {{{spells|}}}
| key 2  = Skill(s)
| value 2 = {{{skills|}}}
| key 3  = Location(s)
| value 3 = {{{locations|}}}
| key 4  = Item(s) Dropped
| value 4 = {{{items|}}}
}}
</div>
</div>
</div>{{clear}}</includeonly><noinclude>
</div></includeonly><noinclude>
This is a template for enemies as they appear in {{DQB2}}. For appearances in other games, please use the corresponding enemy template.  
This is a template for enemies as they appear in {{DQB2}}. For appearances in other games, please use the corresponding enemy template.  
 
== Usage ==
<pre>
{{DQB2Enemy
|name={{Translation| | | }}
|Number=#
|family={{}}
|tameable=
|sprite=[[File:DQB2 MON .png]]
|hp=
|attack=
|defence=
|exp=
|spells=
|skills=
|items=[[|]]
|locations=[[]]
}}
</pre>
Note that all locations that it appears in should be logged (unless it is there in the form of an NPC, in which it should be stated before the use of the template). If it does not naturally respawn (see [[List of monsters in Dragon Quest Builders 2|here]]), then write an asterisk with a transcription (e.g. <nowiki>[[Furrowfield]] {{tt|*|Only in monster raids}}</nowiki>). If there are multiple versions with differing stats, a subheading should be written under either "Event" or "Large".
== Example ==
== Example ==
Writing the following text will show the template this way:
<pre>
{{DQB2Enemy
{{DQB2Enemy
|name=Slime
|name={{Translation|Slime|スライム|Suraimu}}
|kanji=????
|Number=#001
|romanji=suraimu
|family={{Slime}}
|sprite=[[File:DQB Slime.png]]
|tameable=Yes
|sprite=[[File:DQB2 MON 1.png]]
|hp=8
|hp=8
|attack=9
|attack=9
|defense=5
|defence=5
|item=[[List of raw materials in Dragon Quest Builders 2|Oil]] (★☆☆)
|exp=1
|tamable=Yes
|spells=None
|skills=None
|items=[[List of raw materials in Dragon Quest Builders 2|Oil]]
|locations=[[Furrowfield]]<br>[[Isle of Awakening]]{{tt|*|On grassy earth blocks; in an event at the beginning of the game}}<br>[[Explorer's shores]]{{tt|*|Blossom Bay}}
}}
}}
</pre>
{{DQB2Enemy
|name={{Translation|Slime|スライム|Suraimu}}
|Number=#001
|family={{Slime}}
|tameable=Yes
|sprite=[[File:DQB2 MON 1.png]]
|hp=8
|attack=9
|defence=5
|exp=1
|spells=None
|skills=None
|items=[[List of raw materials in Dragon Quest Builders 2|Oil]]
|locations=[[Furrowfield]]<br>[[Isle of Awakening]]{{tt|*|On grassy earth blocks; in an event at the beginning of the game}}<br>[[Explorer's shores]]{{tt|*|Blossom Bay}}
}}
[[Category:Enemy templates]]
</noinclude>