NaviCustProgram: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{#vardefine:colBG1|{{#sub:{{#var:colBG}}|7|6}}}} | {{#vardefine:colBG1|{{#sub:{{#var:colBG}}|7|6}}}} | ||
{{#vardefine:colBG2|{{#sub:{{#var:colBG}}|14|6}}}} | {{#vardefine:colBG2|{{#sub:{{#var:colBG}}|14|6}}}} | ||
{{#vardefine:rowStyle|box-sizing:border-box;position:relative;width:20px;height:20px;padding:0;background:#{{#var:colBG0}};border:1px solid;border-color:#{{#var: | {{#vardefine:rowStyle|box-sizing:border-box;position:relative;width:20px;height:20px;padding:0;background:#{{#var:colBG0}};border:1px solid;border-color:#{{#var:colBG1}} #{{#var:colBG2}} #{{#var:colBG2}} #{{#var:colBG1}};}} | ||
{{#vardefine:ncpStyle|position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;box-sizing:border-box;border:1px solid;}} | {{#vardefine:ncpStyle|position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;box-sizing:border-box;border:1px solid;}} | ||
{{#vardefine:col11|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col110|{{#sub:{{#var:col11}}|0|6}}}}{{#vardefine:col111|{{#sub:{{#var:col11}}|7|6}}}}{{#vardefine:col112|{{#sub:{{#var:col11}}|14|6}}}} | {{#vardefine:col11|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col110|{{#sub:{{#var:col11}}|0|6}}}}{{#vardefine:col111|{{#sub:{{#var:col11}}|7|6}}}}{{#vardefine:col112|{{#sub:{{#var:col11}}|14|6}}}} | ||
Line 32: | Line 32: | ||
{{#vardefine:col55|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|4|1}}}}}}{{#vardefine:col550|{{#sub:{{#var:col55}}|0|6}}}}{{#vardefine:col551|{{#sub:{{#var:col55}}|7|6}}}}{{#vardefine:col552|{{#sub:{{#var:col55}}|14|6}}}} | {{#vardefine:col55|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|4|1}}}}}}{{#vardefine:col550|{{#sub:{{#var:col55}}|0|6}}}}{{#vardefine:col551|{{#sub:{{#var:col55}}|7|6}}}}{{#vardefine:col552|{{#sub:{{#var:col55}}|14|6}}}} | ||
{|style="width:auto!important;border-collapse:separate;border-spacing:0;border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};" | {|style="width:auto!important;border-collapse:separate;border-spacing:0;border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};" | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col110}};border-color:#{{#var: | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};}}"></div>}} | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|1|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col210}};border-color:#{{#var: | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|1|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};}}"></div>}} | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|2|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col310}};border-color:#{{#var: | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|2|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};}}"></div>}} | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|3|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col410}};border-color:#{{#var: | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|3|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};}}"></div>}} | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|4|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col510}};border-color:#{{#var: | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|4|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};}}"></div>}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Example== | ==Example== |
Revision as of 02:06, 3 March 2016
Example
Usage
{{NaviCustProgram |row1=_____ |row2=__M__ |row3=_mMM_ |row4=__M__ |row5=_____ }} {{NaviCustProgram |row1=_____ |row2=_RRr_ |row3=_RRR_ |row4=_R_R_ |row5=_____ |type=plus }}