Template

NaviCustProgram: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
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: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:col112}} #{{#var:col111}} #{{#var:col111}} #{{#var:col112}};}}"></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:col212}} #{{#var:col211}} #{{#var:col211}} #{{#var:col212}};}}"></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:col312}} #{{#var:col311}} #{{#var:col311}} #{{#var:col312}};}}"></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:col412}} #{{#var:col411}} #{{#var:col411}} #{{#var:col412}};}}"></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:col512}} #{{#var:col511}} #{{#var:col511}} #{{#var:col512}};}}"></div>}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Example==
==Example==

Revision as of 02:05, 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
}}