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>{{#ifeq: {{{style|sf1}}} | sf2-road |
"></div>{{#switch: {{#var:y}} | 1 | 5 = {{#ifeq: {{{style|sf1}}} | sf2-road |
<div style="
<div style="
position: absolute;
position: absolute;
top: -100%;
top: {{#switch: {{#var:y}} | 1 = 23px | 5 = -31px}};
left: -2px;
left: -1px;
width: 100%;
width: 82px;
height: 30px;
height: 30px;
box-sizing: content-box;
{{#ifeq: {{#var:y}} | 1 | transform: scaleY(-1); }}
border: 2px solid transparent;
"><img src="{{filepath:Field_sf2-road_end.png}}" style="
"><img src="{{filepath:Field_sf2-road_end.png}}" style="
width: 100%;
width: 100%;
height: 100%;
height: 100%;
"></div>
"></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="

Revision as of 21:17, 1 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
}}