NaviCustProgramPart: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ | ||
#switch:{{ | #switch:{{lc:{{{1}}}}} | ||
|w|white={{ | |w|white={{ | ||
#vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}} | #vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}}{{#vardefine:col3|FFFFFF}} | ||
|m|magenta|pink={{ | |m|magenta|pink={{ | ||
#vardefine:col0|FF94E7}}{{#vardefine:col1|FFD6F7}}{{#vardefine:col2|D663A5}} | #vardefine:col0|FF94E7}}{{#vardefine:col1|FFD6F7}}{{#vardefine:col2|D663A5}}{{#vardefine:col3|294A4A}} | ||
|y|yellow={{ | |y|yellow={{ | ||
#vardefine:col0|EFF700}}{{#vardefine:col1|FFFFCE}}{{#vardefine:col2|D6C600}} | #vardefine:col0|EFF700}}{{#vardefine:col1|FFFFCE}}{{#vardefine:col2|D6C600}}{{#vardefine:col3|FFFF21}} | ||
|r|red={{ | |r|red={{ | ||
#vardefine:col0|E70000}}{{#vardefine:col1|FF7B73}}{{#vardefine:col2|BD0000}} | #vardefine:col0|E70000}}{{#vardefine:col1|FF7B73}}{{#vardefine:col2|BD0000}}{{#vardefine:col3|FF3121}} | ||
|b|blue={{ | |b|blue={{ | ||
#vardefine:col0|4252FF}}{{#vardefine:col1|52B5FF}}{{#vardefine:col2|1008C6}} | #vardefine:col0|4252FF}}{{#vardefine:col1|52B5FF}}{{#vardefine:col2|1008C6}}{{#vardefine:col3|4AA5FF}} | ||
|g|green={{ | |g|green={{ | ||
#vardefine:col0|00EF10}}{{#vardefine:col1|94FF8C}}{{#vardefine:col2|00BD08}} | #vardefine:col0|00EF10}}{{#vardefine:col1|94FF8C}}{{#vardefine:col2|00BD08}}{{#vardefine:col3|294A4A}} | ||
|o|orange={{ | |o|orange={{ | ||
#vardefine:col0|FFAD00}}{{#vardefine:col1|FFD684}}{{#vardefine:col2|DE8400}} | #vardefine:col0|FFAD00}}{{#vardefine:col1|FFD684}}{{#vardefine:col2|DE8400}}{{#vardefine:col3|294A4A}} | ||
|v|violet|purple={{ | |v|violet|purple={{ | ||
#vardefine:col0|AD00D6}}{{#vardefine:col1|D652FF}}{{#vardefine:col2|73008C}} | #vardefine:col0|AD00D6}}{{#vardefine:col1|D652FF}}{{#vardefine:col2|73008C}}{{#vardefine:col3|294A4A}} | ||
|d|dark|black|gray|grey={{ | |d|dark|black|gray|grey={{ | ||
#vardefine:col0|948C94}}{{#vardefine:col1|B5B5B5}}{{#vardefine:col2|5A5A5A}} | #vardefine:col0|948C94}}{{#vardefine:col1|B5B5B5}}{{#vardefine:col2|5A5A5A}}{{#vardefine:col3|294A4A}} | ||
|#default={{ | |#default={{ | ||
#vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}} | #vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}}{{#vardefine:col3|294A4A}} | ||
}}{{ | }}<div style=" | ||
#ifeq: {{{ | box-sizing: border-box; | ||
| | position: relative; | ||
display: inline-block; | |||
{{ | |||
#switch: {{lc:{{{2}}}}} | |||
|#default= | |||
width: 20px; | |||
height: 20px; | |||
border: 1px solid; | |||
background: #{{#var:col0}}; | |||
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}}; | |||
|+= | |||
width: 20px; | |||
height: 20px; | |||
|p= | |||
width: 12px; | |||
height: 32px; | |||
border: 2px solid; | |||
background: #{{#var:col3}}; | |||
border-color: #949494 #4A4A52 #4A4A52 #949494; | |||
}} | |||
">{{ | |||
#ifeq: {{{2}}} | |||
| + | |||
| | | | ||
{{#vardefine:plusStyle| | |||
position: absolute; | |||
display: inline-block; | |||
border: 1px solid; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
background: #{{#var:col0}}; | |||
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}}; | |||
}} | }} | ||
</div> | <div style="{{#var:plusStyle}}; top:0; left:0; right:50%; bottom:50%;"></div> | ||
}}</includeonly><noinclude> | <div style="{{#var:plusStyle}}; top:0; left:50%; right:0; bottom:50%;"></div> | ||
<div style="{{#var:plusStyle}}; top:50%; left:0; right:50%; bottom:0;"></div> | |||
<div style="{{#var:plusStyle}}; top:50%; left:50%; right:0; bottom:0;"></div> | |||
}}</div></includeonly><noinclude> | |||
==Example== | ==Example== | ||
{{NaviCustProgramPart}} | {{NaviCustProgramPart}} |
Latest revision as of 04:29, 3 March 2016
Example
Usage
{{NaviCustProgramPart}} {{NaviCustProgramPart|g}} {{NaviCustProgramPart|y|+}} {{NaviCustProgramPart|r|p}}