Template

Battle: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 5: Line 5:
|-
|-
{{#if:{{{enemy1|}}}|
{{#if:{{{enemy1|}}}|
{{!}}style="width: 17.5ex;"{{!}}{{{enemy1}}}
{{!}}style="width: 15ex;"{{!}}{{{enemy1}}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy1hp|}}}|{{{enemy1hp}}} HP}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy1hp|}}}|{{{enemy1hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy2|}}}|
{{#if:{{{enemy2|}}}|
{{!}}style="width: 17.5ex;"{{!}}{{{enemy2}}}
{{!}}style="width: 15ex;"{{!}}{{{enemy2}}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy2hp|}}}|{{{enemy2hp}}} HP}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy2hp|}}}|{{{enemy2hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy3|}}}|
{{#if:{{{enemy3|}}}|
{{!}}style="width: 17.5ex;"{{!}}{{{enemy3}}}
{{!}}style="width: 15ex;"{{!}}{{{enemy3}}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy3hp|}}}|{{{enemy3hp}}} HP}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy3hp|}}}|{{{enemy3hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy4|}}}|
{{#if:{{{enemy4|}}}|
{{!}}style="width: 17.5ex;"{{!}}{{{enemy4}}}
{{!}}style="width: 15ex;"{{!}}{{{enemy4}}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy4hp|}}}|{{{enemy4hp}}} HP}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}{{#if:{{{enemy4hp|}}}|{{{enemy4hp}}} HP}}
}}
}}
Line 26: Line 26:
!colspan="2"|Chance
!colspan="2"|Chance
|-
|-
|style="width: 17.5ex;"|{{{condition1|Normal}}}
|style="width: 15ex;"|{{{condition1|Normal}}}
|style="text-align: right; width: 7.5ex;"|<span title="{{{chance1|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance1|256/256}}}round2}}%</span>
|style="text-align: right; width: 7.5ex;"|<span title="{{{chance1|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance1|256/256}}}round2}}%</span>
|-
|-
{{#if:{{{condition2|}}}|
{{#if:{{{condition2|}}}|
{{!}}style="width: 17.5ex;"{{!}}{{{condition2}}}
{{!}}style="width: 15ex;"{{!}}{{{condition2}}}
{{!}}style="text-align: right; width: 7.5ex;"{{!}}<span title="{{{chance2|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance2|256/256}}}round2}}%</span>
{{!}}style="text-align: right; width: 7.5ex;"{{!}}<span title="{{{chance2|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance2|256/256}}}round2}}%</span>
}}
}}

Revision as of 16:48, 30 December 2014

Example

Panel r1 r bn1-internet.png Panel r1 r bn1-internet.png Panel r1 r bn1-internet.png Panel r1 b bn1-internet.png Panel r1 b bn1-internet.png Panel r1 b bn1-internet.png
Panel r2 r bn1-internet.png Panel r2 r bn1-internet.png
Object megaman-bn1.png
Panel r2 r bn1-internet.png Panel r2 b bn1-internet.png Panel r2 b bn1-internet.png
Object mettaur.png
Panel r2 b bn1-internet.png
Panel r3 r bn1-internet.png Panel r3 r bn1-internet.png Panel r3 r bn1-internet.png Panel r3 b bn1-internet.png Panel r3 b bn1-internet.png Panel r3 b bn1-internet.png
Panel bottom r bn1-internet.png Panel bottom r bn1-internet.png Panel bottom r bn1-internet.png Panel bottom b bn1-internet.png Panel bottom b bn1-internet.png Panel bottom b bn1-internet.png
Enemies
Mettaur 40 HP
Chance
Before FireManα 6.64%
After FireManα 6.64%

Usage

{{Battle
|enemy1=Mettaur
|enemy1hp=40
|condition1=Before FireManα
|chance1=17/256
|condition2=After FireManα
|chance2=17/256
|battlefield={{BattleField
|style=bn1-internet
|object22=megaman-bn1
|object52=mettaur
}}
}}