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: 85pt !important;"{{!}}{{{enemy1}}}
{{!}}style="min-width: 85pt;"{{!}}{{{enemy1}}}
{{!}}style="text-align: right; width: 40pt !important;"{{!}}{{#if:{{{enemy1hp|}}}|{{{enemy1hp}}} HP}}
{{!}}style="text-align: right; min-width: 40pt;"{{!}}{{#if:{{{enemy1hp|}}}|{{{enemy1hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy2|}}}|
{{#if:{{{enemy2|}}}|
{{!}}style="width: 85pt !important;"{{!}}{{{enemy2}}}
{{!}}style="min-width: 85pt;"{{!}}{{{enemy2}}}
{{!}}style="text-align: right; width: 40pt !important;"{{!}}{{#if:{{{enemy2hp|}}}|{{{enemy2hp}}} HP}}
{{!}}style="text-align: right; min-width: 40pt;"{{!}}{{#if:{{{enemy2hp|}}}|{{{enemy2hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy3|}}}|
{{#if:{{{enemy3|}}}|
{{!}}style="width: 85pt !important;"{{!}}{{{enemy3}}}
{{!}}style="min-width: 85pt;"{{!}}{{{enemy3}}}
{{!}}style="text-align: right; width: 40pt !important;"{{!}}{{#if:{{{enemy3hp|}}}|{{{enemy3hp}}} HP}}
{{!}}style="text-align: right; min-width: 40pt;"{{!}}{{#if:{{{enemy3hp|}}}|{{{enemy3hp}}} HP}}
}}
}}
|-
|-
{{#if:{{{enemy4|}}}|
{{#if:{{{enemy4|}}}|
{{!}}style="width: 85pt !important;"{{!}}{{{enemy4}}}
{{!}}style="min-width: 85pt;"{{!}}{{{enemy4}}}
{{!}}style="text-align: right; width: 40pt !important;"{{!}}{{#if:{{{enemy4hp|}}}|{{{enemy4hp}}} HP}}
{{!}}style="text-align: right; min-width: 40pt;"{{!}}{{#if:{{{enemy4hp|}}}|{{{enemy4hp}}} HP}}
}}
}}
|-
|-
!colspan="2"|Chance
!colspan="2"|Chance
|-
|-
|style="width: 85pt !important;"|{{{condition1|Normal}}}
|style="min-width: 85pt;"|{{{condition1|Normal}}}
|style="text-align: right; width: 40pt !important;"|<span title="{{{chance1|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance1|256/256}}}round2}}%</span>
|style="text-align: right; min-width: 40pt;"|<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: 85pt !important;"{{!}}{{{condition2}}}
{{!}}style="min-width: 85pt;"{{!}}{{{condition2}}}
{{!}}style="text-align: right; width: 40pt !important;"{{!}}<span title="{{{chance2|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance2|256/256}}}round2}}%</span>
{{!}}style="text-align: right; min-width: 40pt;"{{!}}<span title="{{{chance2|256/256}}}" style="cursor: help; border-bottom: 1px dotted">{{#expr:100*{{{chance2|256/256}}}round2}}%</span>
}}
}}
|-
|-

Revision as of 16:59, 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
}}
}}