Template

BattleFieldSF: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 50: Line 50:
z-index: 1;
z-index: 1;
position: relative;
position: relative;
"></div>{{#switch: {{#var:y}} | 1 | 5 = {{#ifeq: {{{style|sf1}}} | sf2-road |
"></div>
<div style="
}}{{#switch: {{#var:y}} | 1 | 5 = {{#switch: {{{style|sf1}}} | sf2-road | sf3-road =
position: absolute;
<div style="
top: {{#switch: {{#var:y}} | 1 = 25px | 5 = -31px}};
position: absolute;
left: -1px;
top: {{#switch: {{#var:y}} | 1 = 25px | 5 = -31px}};
width: 82px;
left: -1px;
height: 30px;
width: 82px;
{{#ifeq: {{#var:y}} | 1 | transform: scaleY(-1); }}
height: 30px;
"><img src="{{filepath:Field_sf2-road_end.png}}" style="
{{#ifeq: {{#var:y}} | 1 | transform: scaleY(-1); }}
width: 100%;
"><img src="{{filepath:Field_{{{style}}}_end.png}}" style="
height: 100%;
width: 100%;
"></div>
height: 100%;
}}}}
"></div>
}}{{#if: {{#vardefineecho:object|{{{object{{#var:xy}}|}}}}} |
}}}}{{#if: {{#vardefineecho:object|{{{object{{#var:xy}}|}}}}} |
<img src="{{filepath:Object_{{#var:object}}.png}}" style="
<img src="{{filepath:Object_{{#var:object}}.png}}" style="
position: absolute;
position: absolute;
Line 109: Line 109:
{{BattleFieldSF
{{BattleFieldSF
|style=sf2-road
|style=sf2-road
|panel35=none
|panel12=none
|object25=mettenna-sf2
|object25=mettenna-sf2
}}
}}
Line 145: Line 147:
{{BattleFieldSF
{{BattleFieldSF
|style=sf2-road
|style=sf2-road
|panel35=none
|panel12=none
|object25=mettenna-sf2
|object25=mettenna-sf2
}}
}}

Revision as of 15:59, 24 July 2016

Example

Usage

{{BattleFieldSF
|style=sf1
|panel15=grass
|panel25=grass
|panel35=grass
|panel14=grass
|panel24=grass
|panel34=grass
|panel13=none
|panel23=none
|panel33=none
|panel22=none
|panel11=holy
|panel21=holy
|panel31=holy
|object25=dragonsky
|objectunder25=dragonsky-full
}}

{{BattleFieldSF
|style=sf2-road
|panel35=none
|panel12=none
|object25=mettenna-sf2
}}

{{BattleFieldSF
|style=sf3-comp
|panel15=none
|panel25=none
|panel35=none
|panel14=none
|panel34=none
|object24=crimsondragon
|objectunder24=crimsondragon-full2
}}