Template

BattleFieldSF: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
(Set margin: 0)
 
(8 intermediate revisions by the same user not shown)
Line 7: Line 7:
width: auto;
width: auto;
border: 0;
border: 0;
margin: 0;
background: transparent;
background: transparent;
z-index: 1;
z-index: 1;
position: relative;
position: relative;
">{{#loop: y | 5 | -5 |<tr style="
">{{#loop: y | 5 | -5 |{{#if: {{{norow{{#var:y}}|}}}| | <tr style="
line-height: normal;
line-height: normal;
background: transparent;
background: transparent;
Line 51: Line 52:
position: relative;
position: relative;
"></div>
"></div>
}}{{#if: {{#vardefineecho:object|{{{object{{#var:xy}}|}}}}} |
}}{{#switch: {{#var:y}} | 1 | 5 = {{#switch: {{{style|sf1}}} | sf2-road | sf3-road =
<div style="
position: absolute;
top: {{#switch: {{#var:y}} | 1 = 25px | 5 = -31px}};
left: -1px;
width: 82px;
height: 30px;
{{#ifeq: {{#var:y}} | 1 | transform: scaleY(-1); }}
"><img src="{{filepath:Field_{{{style}}}_end.png}}" style="
width: 100%;
height: 100%;
"></div>
}}}}{{#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 75: Line 88:
z-index: -1;
z-index: -1;
">
">
}}</td>}}</tr>}}</table></includeonly><noinclude>==Example==
}}</td>}}</tr>}}}}</table></includeonly><noinclude>==Example==
{{BattleFieldSF
{{BattleFieldSF
|style=sf1
|style=sf1
Line 94: Line 107:
|objectunder25=dragonsky-full
|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
}}
{{BattleFieldSF
|style=sf3-comp
|norow1=true
|norow2=true
|object25=dragonsky
|objectunder25=dragonsky-full
}}
==Usage==
==Usage==
<pre>{{BattleFieldSF
<pre>{{BattleFieldSF
Line 110: Line 149:
|panel21=holy
|panel21=holy
|panel31=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
}}
{{BattleFieldSF
|style=sf3-comp
|panel15=none
|panel25=none
|panel35=none
|panel14=none
|panel34=none
|object24=crimsondragon
|objectunder24=crimsondragon-full2
}}
{{BattleFieldSF
|style=sf3-comp
|norow1=true
|norow2=true
|object25=dragonsky
|object25=dragonsky
|objectunder25=dragonsky-full
|objectunder25=dragonsky-full
}}</pre></noinclude>
}}</pre></noinclude>

Latest revision as of 01:35, 27 December 2023

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
}}

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

{{BattleFieldSF
|style=sf3-comp
|norow1=true
|norow2=true
|object25=dragonsky
|objectunder25=dragonsky-full
}}