Template:TND1Enemy: Difference between revisions

Created page with "<includeonly> <div style="background-color: #B6530D; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" > <div style="padding-left: 5px; padding-right: 5px; height:..."
 
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #B6530D; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="background-color:#B6530D; padding:3px; border-radius:7px; max-width:63em;">
<div style="padding-left: 5px; padding-right: 5px; height: 32px;">
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center; color: white;">
<table style="width: 100%">
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | (<span lang="ja">{{{kanji}}}{{#if: {{{romaji|}}} | &nbsp;''{{{romaji}}}'' }}</span>)}}</div>
<tr>
    <div><!-- space for logo link --></div>
<td valign="top">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</td>
</tr>
</table>
</div>
</div>
<div style="background-color: #FFF47F; border-radius: 5px; padding: 3px;">
<div style="background-color:#FFF47F; border-radius:5px; padding:1px">
    <table style="border: 1px solid brown; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
{{paired list grid
      <tr>
| key background color = #DE820A
        <td style="background-color#DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''Sprite'''</td>
  | border color = brown
        <td style="background-color: #DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''HP'''</td>
  | span 1  = 4
        <td style="background-color: #DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''Experience'''</td>
  | key 1  = Sprite
        <td style="background-color:  #DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''Attack'''</td>
  | value 1 = {{{sprite|}}}
        <td style="background-color: #DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''Defense'''</td>
| span 2  = 4
        <td style="background-color:  #DE820A; padding: 2px; width: 64px; text-align: center; border-right: 1px solid brown">'''Agility'''</td>
| key 2  = {{Exp}}erience
        <td style="background-color: #DE820A; padding: 2px; width: 64px; text-align: center;">'''Item Drop'''</td>
| value 2 = {{{exp|?}}}
      </tr>
| span 3  = 4
      <tr>
| key 3  = Item Drop
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{sprite|}}}|{{{sprite}}}}}</td>
| value 3 = {{{drop|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{hp|}}}|{{{hp}}}|?}}</td>
| key 4  = {{HP}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{exp|}}}|{{{exp}}}|?}}</td>
| value 4 = {{{hp|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{attack|}}}|{{{attack}}}|?}}</td>
| key 5  = {{Attack}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{defense|}}}|{{{defense}}}|?}}</td>
| value 5 = {{{attack|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid brown">{{#if:{{{agility|}}}|{{{agility}}} tile/turn|?}}</td>
| key 6  = {{Defense}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{drop|}}}|{{{drop}}}|?}}</td>
| value 6 = {{{defense|?}}}
      </tr>
| key 7  = {{Agility}}
    </table>
| value 7 = {{{agility|?}}}
    <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>
{{paired list stack
        <td style="width: 100px; height: 24px; background-color#DE820A; border-bottom: 1px solid brown; border-right: 1px solid brown">Location(s)</td>
  | key background color = #DE820A
        <td style="text-align: center; border-bottom: 1px solid brown;">{{#if:{{{locations|}}}|'''{{{locations}}}'''}}</td>
| border color = brown
      </tr>
| key 1  = Location(s)
      <tr>
| value 1 = {{{locations|}}}
        <td style="width: 100px; height: 24px; background-color:  #DE820A; border-right: 1px solid brown;>Ability(ies)</td>
| key 2  = Ability(ies)
        <td style="text-align: center; border-bottom: 1px solid brown;">{{#if:{{{ability|}}}|'''{{{ability}}}'''|None}}</td>
| value 2 = {{{ability|None}}}
      </tr>
}}
    </table>
    </div>
</div>
</div>
</div>
</div>
</div></includeonly>
</includeonly><noinclude>
<noinclude>
This is a template for enemies that appear in ''[[Torneko no Daibōken: Fushigi no Dungeon]]''. For appearances in other games, see use the corresponding enemy template.  
This is a template for enemies that appear in ''[[Torneko no Daibōken: Fushigi no Dungeon]]''. For appearances in other games, see use the corresponding enemy template.  


== Example ==
==Example==
{{TND1Enemy
{{TND1Enemy
|name=Slime
|name=Slime
|kanji=スライム  
|kanji=スライム  
|romanji=Suraimu
|romaji=Suraimu
|sprite=[[File:Slime TND FND1.png]]
|sprite=[[File:Slime TND FND1.png]]
|hp=5
|hp=5
Line 66: Line 60:
|name=
|name=
|kanji=  
|kanji=  
|romanji=
|romaji=
|sprite=
|sprite=
|hp=
|hp=
Line 78: Line 72:
}}
}}
</pre>
</pre>
</noinclude>
 
<noinclude>
[[Category:Enemy templates]]
[[Category:Enemy templates|{{PAGENAME}}]]
</noinclude>
</noinclude>