NaviCustProgramPart: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{ | ||
{{ | #vardefine:l1|{{lc:{{{1}}}}} | ||
{{ | }}{{ | ||
#switch:{{#var:l1}} | |||
|w|white={{ | |||
{{ | #vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}} | ||
|m|magenta|pink={{ | |||
#vardefine:col0|FF94E7}}{{#vardefine:col1|FFD6F7}}{{#vardefine:col2|D663A5}} | |||
|y|yellow={{ | |||
#vardefine:col0|EFF700}}{{#vardefine:col1|FFFFCE}}{{#vardefine:col2|D6C600}} | |||
|r|red={{ | |||
#vardefine:col0|E70000}}{{#vardefine:col1|FF7B73}}{{#vardefine:col2|BD0000}} | |||
|b|blue={{ | |||
#vardefine:col0|4252FF}}{{#vardefine:col1|52B5FF}}{{#vardefine:col2|1008C6}} | |||
|g|green={{ | |||
#vardefine:col0|00EF10}}{{#vardefine:col1|94FF8C}}{{#vardefine:col2|00BD08}} | |||
|o|orange={{ | |||
#vardefine:col0|FFAD00}}{{#vardefine:col1|FFD684}}{{#vardefine:col2|DE8400}} | |||
|v|violet|purple={{ | |||
#vardefine:col0|AD00D6}}{{#vardefine:col1|D652FF}}{{#vardefine:col2|73008C}} | |||
|d|dark|black|gray|grey={{ | |||
#vardefine:col0|948C94}}{{#vardefine:col1|B5B5B5}}{{#vardefine:col2|5A5A5A}} | |||
|#default={{ | |||
#vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}} | |||
}}{{ | |||
#ifeq: {{{1}}} | |||
| _ | |||
| | |||
| | |||
<div style=" | |||
position: absolute; | |||
top: -1px; | |||
bottom: -1px; | |||
left: -1px; | |||
right: -1px; | |||
box-sizing: border-box; | |||
border: 1px solid; | |||
{{ | |||
#ifeq: {{lc:{{{1}}}}} | |||
| {{{1}}} | |||
| opacity: 0.333; | |||
}} | |||
{{ | |||
#ifeq: {{{type|}}} | |||
| plus | |||
| | |||
| | |||
background: #{{#var:col0}}; | |||
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}}; | |||
}} | |||
"> | |||
{{ | |||
#ifeq: {{{type|}}} | |||
| plus | |||
| | |||
{{#vardefine:plusStyle| | |||
position: absolute; | |||
display: inline-block; | |||
border: 1px solid; | |||
box-sizing: border-box; | |||
background: #{{#var:col0}}; | |||
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}}; | |||
}} | |||
<div style="{{#var:plusStyle}}; top:-1px; left:-1px; right:50%; bottom:50%;"></div> | |||
<div style="{{#var:plusStyle}}; top:-1px; left:50%; right:-1px; bottom:50%;"></div> | |||
<div style="{{#var:plusStyle}}; top:50%; left:-1px; right:50%; bottom:-1px;"></div> | |||
<div style="{{#var:plusStyle}}; top:50%; left:50%; right:-1px; bottom:-1px;"></div> | |||
}} | |||
</div> | |||
}}</includeonly><noinclude> | |||
==Example== | ==Example== | ||
{{NaviCustProgramPart}} | {{NaviCustProgramPart}} |
Revision as of 03:15, 3 March 2016
Example
Usage
{{NaviCustProgramPart}} {{NaviCustProgramPart|G}} {{NaviCustProgramPart|g}} {{NaviCustProgramPart|Y|plus}} {{NaviCustProgramPart|y|plus}}