NaviCustProgram: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|3|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row1|}}}|3|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};}}">{{#ifeq:{{{type|}}}|plus|<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|}}}|3|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row1|}}}|3|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col410}};border-color:#{{#var:col411}} #{{#var:col412}} #{{#var:col412}} #{{#var:col411}};}}">{{#ifeq:{{{type|}}}|plus|<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}};{{#switch:{{#sub:{{{row1|}}}|4|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};}}">{{#ifeq:{{{type|}}}|plus|<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>}} | |style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row1|}}}|4|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row1|}}}|4|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col510}};border-color:#{{#var:col511}} #{{#var:col512}} #{{#var:col512}} #{{#var:col511}};}}">{{#ifeq:{{{type|}}}|plus|<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>}} | ||
|- | |||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row2|}}}|0|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row2|}}}|0|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col120}};border-color:#{{#var:col121}} #{{#var:col122}} #{{#var:col122}} #{{#var:col121}};}}">{{#ifeq:{{{type|}}}|plus|<div style="{{#var:plusStyle}};background:#{{#var:col120}};border-color:#{{#var:col121}} #{{#var:col122}} #{{#var:col122}} #{{#var:col121}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col120}};border-color:#{{#var:col121}} #{{#var:col122}} #{{#var:col122}} #{{#var:col121}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col120}};border-color:#{{#var:col121}} #{{#var:col122}} #{{#var:col122}} #{{#var:col121}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col120}};border-color:#{{#var:col121}} #{{#var:col122}} #{{#var:col122}} #{{#var:col121}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | |||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row2|}}}|1|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row2|}}}|1|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col220}};border-color:#{{#var:col221}} #{{#var:col222}} #{{#var:col222}} #{{#var:col221}};}}">{{#ifeq:{{{type|}}}|plus|<div style="{{#var:plusStyle}};background:#{{#var:col220}};border-color:#{{#var:col221}} #{{#var:col222}} #{{#var:col222}} #{{#var:col221}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col220}};border-color:#{{#var:col221}} #{{#var:col222}} #{{#var:col222}} #{{#var:col221}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col220}};border-color:#{{#var:col221}} #{{#var:col222}} #{{#var:col222}} #{{#var:col221}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col220}};border-color:#{{#var:col221}} #{{#var:col222}} #{{#var:col222}} #{{#var:col221}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | |||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row2|}}}|2|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row2|}}}|2|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col320}};border-color:#{{#var:col321}} #{{#var:col322}} #{{#var:col322}} #{{#var:col321}};}}">{{#ifeq:{{{type|}}}|plus|<div style="{{#var:plusStyle}};background:#{{#var:col320}};border-color:#{{#var:col321}} #{{#var:col322}} #{{#var:col322}} #{{#var:col321}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col320}};border-color:#{{#var:col321}} #{{#var:col322}} #{{#var:col322}} #{{#var:col321}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col320}};border-color:#{{#var:col321}} #{{#var:col322}} #{{#var:col322}} #{{#var:col321}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col320}};border-color:#{{#var:col321}} #{{#var:col322}} #{{#var:col322}} #{{#var:col321}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | |||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row2|}}}|3|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row2|}}}|3|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col420}};border-color:#{{#var:col421}} #{{#var:col422}} #{{#var:col422}} #{{#var:col421}};}}">{{#ifeq:{{{type|}}}|plus|<div style="{{#var:plusStyle}};background:#{{#var:col420}};border-color:#{{#var:col421}} #{{#var:col422}} #{{#var:col422}} #{{#var:col421}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col420}};border-color:#{{#var:col421}} #{{#var:col422}} #{{#var:col422}} #{{#var:col421}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col420}};border-color:#{{#var:col421}} #{{#var:col422}} #{{#var:col422}} #{{#var:col421}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col420}};border-color:#{{#var:col421}} #{{#var:col422}} #{{#var:col422}} #{{#var:col421}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | |||
|style="{{#var:rowStyle}}"|{{#ifeq:{{#sub:{{{row2|}}}|4|1}}|_||<div style="{{#var:ncpStyle}};{{#switch:{{#sub:{{{row2|}}}|4|1}}|w|m|y|r|b|g|o|v|d={{#var:transStyle}}}};{{#ifeq:{{{type|}}}|plus||;background:#{{#var:col520}};border-color:#{{#var:col521}} #{{#var:col522}} #{{#var:col522}} #{{#var:col521}};}}">{{#ifeq:{{{type|}}}|plus|<div style="{{#var:plusStyle}};background:#{{#var:col520}};border-color:#{{#var:col521}} #{{#var:col522}} #{{#var:col522}} #{{#var:col521}};top:-1px;left:-1px;right:50%;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col520}};border-color:#{{#var:col521}} #{{#var:col522}} #{{#var:col522}} #{{#var:col521}};top:-1px;left:50%;right:-1px;bottom:50%;"></div><div style="{{#var:plusStyle}};background:#{{#var:col520}};border-color:#{{#var:col521}} #{{#var:col522}} #{{#var:col522}} #{{#var:col521}};top:50%;left:-1px;right:50%;bottom:-1px;"></div><div style="{{#var:plusStyle}};background:#{{#var:col520}};border-color:#{{#var:col521}} #{{#var:col522}} #{{#var:col522}} #{{#var:col521}};top:50%;left:50%;right:-1px;bottom:-1px;"></div>}}</div>}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Example== | ==Example== | ||
Line 53: | Line 59: | ||
{{NaviCustProgram | {{NaviCustProgram | ||
|row1= | |row1=__R__ | ||
|row2=_RRr_ | |row2=_RRr_ | ||
|row3=_RRR_ | |row3=_RRR_ |
Revision as of 02:26, 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 }}