Template

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-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};}}
{{#vardefine:rowStyle|box-sizing:border-box;position:relative;width:20px;height:20px;padding:0;background:#{{#var:colBG0}};border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};}}
{{#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 31: Line 31:
{{#vardefine:col45|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|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:{{{row1|}}}|0|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:{{{row1|}}}|0|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:{{{row1|}}}|0|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-spacing:0;background:#{{#var:colBG0}};border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};"
{|style="width:auto!important;border-spacing:0;border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};"
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col110}};border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col210}};border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};}}"></div>

Revision as of 01:58, 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
}}