NaviCustProgram: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
{{#vardefine:col45|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|3|1}}}}}}{{#vardefine:col450|{{#sub:{{#var:col45}}|0|6}}}}{{#vardefine:col451|{{#sub:{{#var:col45}}|7|6}}}}{{#vardefine:col452|{{#sub:{{#var:col45}}|14|6}}}} | {{#vardefine:col45|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|3|1}}}}}}{{#vardefine:col450|{{#sub:{{#var:col45}}|0|6}}}}{{#vardefine:col451|{{#sub:{{#var:col45}}|7|6}}}}{{#vardefine:col452|{{#sub:{{#var:col45}}|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}}}} | {{#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:plusStyle|position:absolute;display:inline-block;border:1px solid;box-sizing:border-box;}} | |||
{|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:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};}}"></div>}} | |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}};}}">{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_|<div style="{{#var:plusStyle}};background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | ||
|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|}}}|1|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};}}">{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_|<div style="{{#var:plusStyle}};background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | ||
|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|}}}|2|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};}}">{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_|<div style="{{#var:plusStyle}};background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col310}};border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | ||
|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|}}}|3|1}}|_||<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};}}">{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_|<div style="{{#var:plusStyle}};background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | ||
|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>}} | |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}};}}">{{#ifeq:{{#sub:{{{row1|}}}|0|1}}|_|<div style="{{#var:plusStyle}};background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Example== | ==Example== |
Revision as of 02:17, 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 }}