Template

NaviCustProgram: Difference between revisions

From The Rockman EXE Zone Wiki

(experimental rewrite)
No edit summary
Line 6: Line 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-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:col11|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col110|{{#sub:{{#var:col11}}|0|6}}}}{{#vardefine:col111|{{#sub:{{#var:col11}}|7|6}}}}{{#vardefine:col111|{{#sub:{{#var:col11}}|14|6}}}}
{{#vardefine:col21|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|1|1}}}}}}
{{#vardefine:col21|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col210|{{#sub:{{#var:col21}}|0|6}}}}{{#vardefine:col211|{{#sub:{{#var:col21}}|7|6}}}}{{#vardefine:col211|{{#sub:{{#var:col21}}|14|6}}}}
{{#vardefine:col31|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|2|1}}}}}}
{{#vardefine:col31|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col310|{{#sub:{{#var:col31}}|0|6}}}}{{#vardefine:col311|{{#sub:{{#var:col31}}|7|6}}}}{{#vardefine:col311|{{#sub:{{#var:col31}}|14|6}}}}
{{#vardefine:col41|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|3|1}}}}}}
{{#vardefine:col41|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col410|{{#sub:{{#var:col41}}|0|6}}}}{{#vardefine:col411|{{#sub:{{#var:col41}}|7|6}}}}{{#vardefine:col411|{{#sub:{{#var:col41}}|14|6}}}}
{{#vardefine:col51|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|4|1}}}}}}
{{#vardefine:col51|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col510|{{#sub:{{#var:col51}}|0|6}}}}{{#vardefine:col511|{{#sub:{{#var:col51}}|7|6}}}}{{#vardefine:col511|{{#sub:{{#var:col51}}|14|6}}}}
{{#vardefine:col12|{{NaviCustProgramColor|{{#sub:{{{row2|}}}|0|1}}}}}}
{{#vardefine:col12|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col120|{{#sub:{{#var:col12}}|0|6}}}}{{#vardefine:col121|{{#sub:{{#var:col12}}|7|6}}}}{{#vardefine:col121|{{#sub:{{#var:col12}}|14|6}}}}
{{#vardefine:col22|{{NaviCustProgramColor|{{#sub:{{{row2|}}}|1|1}}}}}}
{{#vardefine:col22|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col220|{{#sub:{{#var:col22}}|0|6}}}}{{#vardefine:col221|{{#sub:{{#var:col22}}|7|6}}}}{{#vardefine:col221|{{#sub:{{#var:col22}}|14|6}}}}
{{#vardefine:col32|{{NaviCustProgramColor|{{#sub:{{{row2|}}}|2|1}}}}}}
{{#vardefine:col32|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col320|{{#sub:{{#var:col32}}|0|6}}}}{{#vardefine:col321|{{#sub:{{#var:col32}}|7|6}}}}{{#vardefine:col321|{{#sub:{{#var:col32}}|14|6}}}}
{{#vardefine:col42|{{NaviCustProgramColor|{{#sub:{{{row2|}}}|3|1}}}}}}
{{#vardefine:col42|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col420|{{#sub:{{#var:col42}}|0|6}}}}{{#vardefine:col421|{{#sub:{{#var:col42}}|7|6}}}}{{#vardefine:col421|{{#sub:{{#var:col42}}|14|6}}}}
{{#vardefine:col52|{{NaviCustProgramColor|{{#sub:{{{row2|}}}|4|1}}}}}}
{{#vardefine:col52|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col520|{{#sub:{{#var:col52}}|0|6}}}}{{#vardefine:col521|{{#sub:{{#var:col52}}|7|6}}}}{{#vardefine:col521|{{#sub:{{#var:col52}}|14|6}}}}
{{#vardefine:col13|{{NaviCustProgramColor|{{#sub:{{{row3|}}}|0|1}}}}}}
{{#vardefine:col13|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col130|{{#sub:{{#var:col13}}|0|6}}}}{{#vardefine:col131|{{#sub:{{#var:col13}}|7|6}}}}{{#vardefine:col131|{{#sub:{{#var:col13}}|14|6}}}}
{{#vardefine:col23|{{NaviCustProgramColor|{{#sub:{{{row3|}}}|1|1}}}}}}
{{#vardefine:col23|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col230|{{#sub:{{#var:col23}}|0|6}}}}{{#vardefine:col231|{{#sub:{{#var:col23}}|7|6}}}}{{#vardefine:col231|{{#sub:{{#var:col23}}|14|6}}}}
{{#vardefine:col33|{{NaviCustProgramColor|{{#sub:{{{row3|}}}|2|1}}}}}}
{{#vardefine:col33|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col330|{{#sub:{{#var:col33}}|0|6}}}}{{#vardefine:col331|{{#sub:{{#var:col33}}|7|6}}}}{{#vardefine:col331|{{#sub:{{#var:col33}}|14|6}}}}
{{#vardefine:col43|{{NaviCustProgramColor|{{#sub:{{{row3|}}}|3|1}}}}}}
{{#vardefine:col43|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col430|{{#sub:{{#var:col43}}|0|6}}}}{{#vardefine:col431|{{#sub:{{#var:col43}}|7|6}}}}{{#vardefine:col431|{{#sub:{{#var:col43}}|14|6}}}}
{{#vardefine:col53|{{NaviCustProgramColor|{{#sub:{{{row3|}}}|4|1}}}}}}
{{#vardefine:col53|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col530|{{#sub:{{#var:col53}}|0|6}}}}{{#vardefine:col531|{{#sub:{{#var:col53}}|7|6}}}}{{#vardefine:col531|{{#sub:{{#var:col53}}|14|6}}}}
{{#vardefine:col14|{{NaviCustProgramColor|{{#sub:{{{row4|}}}|0|1}}}}}}
{{#vardefine:col14|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col140|{{#sub:{{#var:col14}}|0|6}}}}{{#vardefine:col141|{{#sub:{{#var:col14}}|7|6}}}}{{#vardefine:col141|{{#sub:{{#var:col14}}|14|6}}}}
{{#vardefine:col24|{{NaviCustProgramColor|{{#sub:{{{row4|}}}|1|1}}}}}}
{{#vardefine:col24|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col240|{{#sub:{{#var:col24}}|0|6}}}}{{#vardefine:col241|{{#sub:{{#var:col24}}|7|6}}}}{{#vardefine:col241|{{#sub:{{#var:col24}}|14|6}}}}
{{#vardefine:col34|{{NaviCustProgramColor|{{#sub:{{{row4|}}}|2|1}}}}}}
{{#vardefine:col34|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col340|{{#sub:{{#var:col34}}|0|6}}}}{{#vardefine:col341|{{#sub:{{#var:col34}}|7|6}}}}{{#vardefine:col341|{{#sub:{{#var:col34}}|14|6}}}}
{{#vardefine:col44|{{NaviCustProgramColor|{{#sub:{{{row4|}}}|3|1}}}}}}
{{#vardefine:col44|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col440|{{#sub:{{#var:col44}}|0|6}}}}{{#vardefine:col441|{{#sub:{{#var:col44}}|7|6}}}}{{#vardefine:col441|{{#sub:{{#var:col44}}|14|6}}}}
{{#vardefine:col54|{{NaviCustProgramColor|{{#sub:{{{row4|}}}|4|1}}}}}}
{{#vardefine:col54|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col540|{{#sub:{{#var:col54}}|0|6}}}}{{#vardefine:col541|{{#sub:{{#var:col54}}|7|6}}}}{{#vardefine:col541|{{#sub:{{#var:col54}}|14|6}}}}
{{#vardefine:col15|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|0|1}}}}}}
{{#vardefine:col15|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col150|{{#sub:{{#var:col15}}|0|6}}}}{{#vardefine:col151|{{#sub:{{#var:col15}}|7|6}}}}{{#vardefine:col151|{{#sub:{{#var:col15}}|14|6}}}}
{{#vardefine:col25|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|1|1}}}}}}
{{#vardefine:col25|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col250|{{#sub:{{#var:col25}}|0|6}}}}{{#vardefine:col251|{{#sub:{{#var:col25}}|7|6}}}}{{#vardefine:col251|{{#sub:{{#var:col25}}|14|6}}}}
{{#vardefine:col35|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|2|1}}}}}}
{{#vardefine:col35|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col350|{{#sub:{{#var:col35}}|0|6}}}}{{#vardefine:col351|{{#sub:{{#var:col35}}|7|6}}}}{{#vardefine:col351|{{#sub:{{#var:col35}}|14|6}}}}
{{#vardefine:col45|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|3|1}}}}}}
{{#vardefine:col45|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col450|{{#sub:{{#var:col45}}|0|6}}}}{{#vardefine:col451|{{#sub:{{#var:col45}}|7|6}}}}{{#vardefine:col451|{{#sub:{{#var:col45}}|14|6}}}}
{{#vardefine:col55|{{NaviCustProgramColor|{{#sub:{{{row5|}}}|4|1}}}}}}
{{#vardefine:col55|{{NaviCustProgramColor|{{#sub:{{{row1|}}}|0|1}}}}}}{{#vardefine:col550|{{#sub:{{#var:col55}}|0|6}}}}{{#vardefine:col551|{{#sub:{{#var:col55}}|7|6}}}}{{#vardefine:col551|{{#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;background:#{{#var:colBG0}};border:1px solid;border-color:#{{#var:colBG2}} #{{#var:colBG1}} #{{#var:colBG1}} #{{#var:colBG2}};"
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#sub:{{#var:col11}}{{!}}0{{!}}6}};border-color:#{{#sub:{{#var:col11}}{{!}}7{{!}}6}} #{{#sub:{{#var:col11}}{{!}}14{{!}}6}} #{{#sub:{{#var:col11}}{{!}}14{{!}}6}} #{{#sub:{{#var:col11}}{{!}}7{{!}}6}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#;border-color:#{{#var:col111}} #{{#var:col112}} #{{#var:col112}} #{{#var:col111}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#sub:{{#var:col21}}{{!}}0{{!}}6}};border-color:#{{#sub:{{#var:col21}}{{!}}7{{!}}6}} #{{#sub:{{#var:col21}}{{!}}14{{!}}6}} #{{#sub:{{#var:col21}}{{!}}14{{!}}6}} #{{#sub:{{#var:col21}}{{!}}7{{!}}6}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#;border-color:#{{#var:col211}} #{{#var:col212}} #{{#var:col212}} #{{#var:col211}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#sub:{{#var:col31}}{{!}}0{{!}}6}};border-color:#{{#sub:{{#var:col31}}{{!}}7{{!}}6}} #{{#sub:{{#var:col31}}{{!}}14{{!}}6}} #{{#sub:{{#var:col31}}{{!}}14{{!}}6}} #{{#sub:{{#var:col31}}{{!}}7{{!}}6}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#;border-color:#{{#var:col311}} #{{#var:col312}} #{{#var:col312}} #{{#var:col311}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#sub:{{#var:col41}}{{!}}0{{!}}6}};border-color:#{{#sub:{{#var:col41}}{{!}}7{{!}}6}} #{{#sub:{{#var:col41}}{{!}}14{{!}}6}} #{{#sub:{{#var:col41}}{{!}}14{{!}}6}} #{{#sub:{{#var:col41}}{{!}}7{{!}}6}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#;border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#{{#sub:{{#var:col51}}{{!}}0{{!}}6}};border-color:#{{#sub:{{#var:col51}}{{!}}7{{!}}6}} #{{#sub:{{#var:col51}}{{!}}14{{!}}6}} #{{#sub:{{#var:col51}}{{!}}14{{!}}6}} #{{#sub:{{#var:col51}}{{!}}7{{!}}6}};}}"></div>
|style="{{#var:rowStyle}}"|<div style="{{#var:ncpStyle}}{{#ifeq:{{{type|}}}|plus||;background:#;border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};}}"></div>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Example==
==Example==

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