Template

BattleFieldSF: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 17: Line 17:
padding: 0;
padding: 0;
position: relative;
position: relative;
">
">{{#ifeq: {{#vardefineecho:panel|{{{panel{{#vardefineecho:xy|{{#var:x}}{{#var:y}}}}|normal}}}}} | none | |
{{#ifeq: {{{panel{{#var:x}}{{#var:y}}|}}} | none | |
<div style="
<div style="
overflow: hidden;
overflow: hidden;
width: 80px;
width: 80px;
height: 24px;
height: 24px;
box-sizing: content-box;
box-sizing: content-box;
"><img src="{{filepath:Field_{{{style|sf1}}}_{{#var:panel}}.png}}" style="
"><img src="{{filepath:Field_{{{style|sf1}}}_{{{panel{{#var:x}}{{#var:y}}|normal}}}.png}}" style="
width: 240px;
width: 240px;
height: 120px;
height: 120px;
max-width: none;
max-width: none;
display: block;
display: block;
margin: -{{#expr: 24 * ({{#var:y}} - 1) }}px 0 0 -{{#expr: 80 * ({{#var:x}} - 1)}}px;
margin: -{{#expr: 24 * ({{#var:y}} - 1) }}px 0 0 -{{#expr: 80 * ({{#var:x}} - 1)}}px;
"></div><img src="{{filepath:Panel_{{{style|sf1}}}_bottom.png}}" style="
"></div><img src="{{filepath:Panel_{{{style|sf1}}}_bottom.png}}" style="
width: 80px;
width: 80px;
height: 14px;
height: 14px;
display: block;
display: block;
box-sizing: content-box;
box-sizing: content-box;
">
">
}}{{#if: {{#vardefineecho:object|{{{object{{#var:xy}}|}}}}} |
}}
<img src="{{filepath:Object_{{#var:object}}.png}}" style="
</td>}}</tr>}}</table><noinclude>
position: absolute;
bottom: -28px;
left: 50%;
transform: translateX(-50%);
max-width: none;
z-index: 3;
">
}}{{#if: {{#vardefineecho:objectunder|{{{objectunder{{#var:xy}}|}}}}} |
<img src="{{filepath:Object_{{#var:objectunder}}.png}}" style="
position: absolute;
top: -236px;
left: 50%;
transform: translateX(-50%);
max-width: none;
z-index: 0;
">
}}</td>}}</tr>}}</table><noinclude>
{{BattleFieldSF
{{BattleFieldSF
|style=sf1
|style=sf1
Line 44: Line 60:
|panel31=grass
|panel31=grass
|panel12=grass
|panel12=grass
|panel22=none
|panel22=grass
|panel32=grass
|panel32=grass
|panel13=none
|panel13=none
Line 55: Line 71:
|panel25=holy
|panel25=holy
|panel35=holy
|panel35=holy
|object21=dragonsky
|objectunder21=dragonsky-full
}}
}}
</noinclude>
</noinclude>

Revision as of 14:56, 6 May 2016