Difference between revisions of "Template:EnemyHeaderTest"
Jump to navigation
Jump to search
imported>Elaeagnifolia |
imported>Elaeagnifolia (Undo revision 79698 by Elaeagnifolia (talk)) |
||
| Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]<!-- | <noinclude>{{doc}}[[Category:Templates]]<!-- | ||
| − | --> | + | --><!-- |
| − | |||
| − | |||
| − | |||
--></noinclude><includeonly><!-- | --></noinclude><includeonly><!-- | ||
| − | --> | + | --><!-- |
| − | |||
| − | |||
| − | --> | + | -->__TOC__ |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<div class="panel enemy-container" style="max-width:850px; border:1px solid #aaa; margin-bottom:1em;"> | <div class="panel enemy-container" style="max-width:850px; border:1px solid #aaa; margin-bottom:1em;"> | ||
| − | <div class="panel-heading"> | + | <div class="panel-heading"><div style="margin-bottom:-8px">{{InlineIcon|Icon Element|{{#cargo_query:tables=EnemiesTest|where=Name="{{{Name|{{PAGENAME}}}}}"|fields=ElementalType|group by=Name|limit=1|more results text=|no html}}}} <span style="font-size:.7em;">{{#cargo_query:tables=EnemiesTest|where=Name="{{{Name|{{PAGENAME}}}}}"|fields=Tribe|group by=Name|limit=1|more results text=}}</span></div><div>{{{Name|{{PAGENAME}}}}} <span style="font-size:.6em;">{{#ifeq:{{#cargo_query:tables=EnemiesTest|where=Name="{{{Name|{{PAGENAME}}}}}"|fields=RareStayTime|group by=Name|limit=1|more results text=|default=0|no html}} | 0 | {{#vardefine:statsTableQueryFields|MissionType=Quest(s),HP=HP,Atk=Atk,Def=Def,Weapon=Weapon,Overwhelm=Overwhelm,MoveSpeed=Move Speed,TurnSpeed=Turn Speed,SuperArmor=Super Armor}} | (Rare){{#vardefine:statsTableQueryFields|MissionType=Quest(s),RareStayTime=RareStayTime,HP=HP,Atk=Atk,Def=Def,Weapon=Weapon,Overwhelm=Overwhelm,MoveSpeed=Move Speed,TurnSpeed=Turn Speed,SuperArmor=Super Armor}} }}</span></div></div> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </div> | ||
<div style="padding:1em;"> | <div style="padding:1em;"> | ||
| − | {{#widget: | + | {{#widget:EnemyMapDropdownTest |
|maps={{#cargo_query:tables=EnemiesTest | |maps={{#cargo_query:tables=EnemiesTest | ||
| − | |where= | + | |where=Name="{{{Name|{{PAGENAME}}}}}" |
|fields=CONCAT("\"", MissionType, "\"") | |fields=CONCAT("\"", MissionType, "\"") | ||
|group by=MonsterId | |group by=MonsterId | ||
| Line 49: | Line 25: | ||
|more results text= | |more results text= | ||
|no html | |no html | ||
| − | |order by= | + | |order by=Hp |
}} | }} | ||
}} | }} | ||
| Line 56: | Line 32: | ||
<div class="enemy-info-table"> | <div class="enemy-info-table"> | ||
{{#cargo_query:tables=EnemiesTest | {{#cargo_query:tables=EnemiesTest | ||
| − | |where= | + | |where=Name="{{{Name|{{PAGENAME}}}}}" |
|fields={{#var:statsTableQueryFields}} | |fields={{#var:statsTableQueryFields}} | ||
|format=table | |format=table | ||
|named args=yes | |named args=yes | ||
| − | |order by= | + | |order by=Hp |
| − | |limit= | + | |limit=99 |
| − | |||
|group by=MonsterId | |group by=MonsterId | ||
}} | }} | ||
| Line 70: | Line 45: | ||
<div class="enemy-info-table"> | <div class="enemy-info-table"> | ||
{{#cargo_query:tables=EnemiesTest | {{#cargo_query:tables=EnemiesTest | ||
| − | |where= | + | |where=Name="{{{Name|{{PAGENAME}}}}}" |
| − | |fields=MissionType=Quest(s),BaseOD=Base OD,BaseBreak=Base Break,BreakDuration=Break Duration,ODAtkRate=OD | + | |fields=MissionType=Quest(s),BaseOD=Base OD,BaseBreak=Base Break,BreakDuration=Break Duration,ODAtkRate=OD Atk Rate,ODDefRate=OD Def Rate,BreakAtkRate=Break Atk Rate,BreakDefRate=Break Def Rate |
|format=table | |format=table | ||
|named args=yes | |named args=yes | ||
| − | |order by= | + | |order by=Hp |
| − | |limit= | + | |limit=99 |
| − | |||
|group by=MonsterId | |group by=MonsterId | ||
}} | }} | ||
| Line 84: | Line 58: | ||
<div class="enemy-info-table"> | <div class="enemy-info-table"> | ||
{{#cargo_query:tables=EnemiesTest | {{#cargo_query:tables=EnemiesTest | ||
| − | |where= | + | |where=Name="{{{Name|{{PAGENAME}}}}}" |
| − | |fields=MissionType=Quest(s),Poison=Poison,Burn=Burn,Freeze=Freeze,Paralysis=Paralysis,Blind=Blind,Stun=Stun,Curse=Curse,Bog=Bog,Sleep=Sleep | + | |fields=MissionType=Quest(s),Poison=Poison,Burn=Burn,Freeze=Freeze,Paralysis=Paralysis,Blind=Blind,Stun=Stun,Curse=Curse,Bog=Bog,Sleep=Sleep |
|format=table | |format=table | ||
|named args=yes | |named args=yes | ||
| − | |order by= | + | |order by=Hp |
| − | |limit= | + | |limit=99 |
| − | |||
|group by=MonsterId | |group by=MonsterId | ||
}} | }} | ||
| − | </div>{{#if:{{{Skills|}}} |{{StylizedHeader|Skills}} | + | </div> |
| + | |||
| + | {{#if:{{{Skills|}}} | | ||
| + | {{StylizedHeader|Skills}} | ||
''Similar to [[Combat Mechanics#Basic Attacks|basic attack modifiers]], enemies also have skill modifiers unique to each enemy's skill animation.'' | ''Similar to [[Combat Mechanics#Basic Attacks|basic attack modifiers]], enemies also have skill modifiers unique to each enemy's skill animation.'' | ||
| − | {{{Skills| | + | {{{Skills|}}} |
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | |||
| − | |||
[[Category:Enemies]] | [[Category:Enemies]] | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||