Template

NaviCustProgramPart: Difference between revisions

From The Rockman EXE Zone Wiki

(Created page with "|style="width:{{#switch:{{{1|_}}}|#default=18|w|m|y|r|b|g|o|p|d=20}}px; height:{{#switch:{{{1|_}}}|#default=18|w|m|y|r|b|g|o|p|d=20}}px; padding:0; margin:0; background: #{{#s...")
 
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
|style="width:{{#switch:{{{1|_}}}|#default=18|w|m|y|r|b|g|o|p|d=20}}px; height:{{#switch:{{{1|_}}}|#default=18|w|m|y|r|b|g|o|p|d=20}}px; padding:0; margin:0; background: #{{#switch:{{{1|_}}}|W|w=FFFFFF|M|m=FF94E7|Y|y=EFF700|R|r=E70000|B|b=4252FF|G|g=00EF10|O|o=FFAD00|P|p=AD00D6|D|d=948C94|#default=4A6B8C}}; {{#switch: {{{1|_}}}|W=border-top:1px solid #FFFFFF;border-left:1px solid #FFFFFF;border-right:1px solid #CECED6;border-bottom:1px solid #CECED6;|M=border-top:1px solid #FFD6F7;border-left:1px solid #FFD6F7;border-right:1px solid #D663A5;border-bottom:1px solid #D663A5;|Y=border-top:1px solid #FFFFCE;border-left:1px solid #FFFFCE;border-right:1px solid #D6C600;border-bottom:1px solid #D6C600;|R=border-top:1px solid #FF7B73;border-left:1px solid #FF7B73;border-right:1px solid #BD0000;border-bottom:1px solid #BD0000;|B=border-top:1px solid #52B5FF;border-left:1px solid #52B5FF;border-right:1px solid #1008C6;border-bottom:1px solid #1008C6;|G=border-top:1px solid #94FF8C;border-left:1px solid #94FF8C;border-right:1px solid #00BD08;border-bottom:1px solid #00BD08;|O=border-top:1px solid #FFD684;border-left:1px solid #FFD684;border-right:1px solid #DE8400;border-bottom:1px solid #DE8400|P=border-top:1px solid #D65200;border-left:1px solid #D65200;border-right:1px solid #73008C;border-bottom:1px solid #73008C;|D=border-top:1px solid #B5B5B5;border-left:1px solid #B5B5B5;border-right:1px solid #5A5A5A;border-bottom:1px solid #5A5A5A;|w|m|y|r|b|g|o|p|d=|#default=border-top:1px solid #294263;border-left:1px solid #294263;border-right:1px solid #5A5A5A;border-bottom:1px solid #5A5A5A;}}"|
<includeonly>{{
#switch:{{lc:{{{1}}}}}
|w|white={{
#vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}}{{#vardefine:col3|FFFFFF}}
|m|magenta|pink={{
#vardefine:col0|FF94E7}}{{#vardefine:col1|FFD6F7}}{{#vardefine:col2|D663A5}}{{#vardefine:col3|294A4A}}
|y|yellow={{
#vardefine:col0|EFF700}}{{#vardefine:col1|FFFFCE}}{{#vardefine:col2|D6C600}}{{#vardefine:col3|FFFF21}}
|r|red={{
#vardefine:col0|E70000}}{{#vardefine:col1|FF7B73}}{{#vardefine:col2|BD0000}}{{#vardefine:col3|FF3121}}
|b|blue={{
#vardefine:col0|4252FF}}{{#vardefine:col1|52B5FF}}{{#vardefine:col2|1008C6}}{{#vardefine:col3|4AA5FF}}
|g|green={{
#vardefine:col0|00EF10}}{{#vardefine:col1|94FF8C}}{{#vardefine:col2|00BD08}}{{#vardefine:col3|294A4A}}
|o|orange={{
#vardefine:col0|FFAD00}}{{#vardefine:col1|FFD684}}{{#vardefine:col2|DE8400}}{{#vardefine:col3|294A4A}}
|v|violet|purple={{
#vardefine:col0|AD00D6}}{{#vardefine:col1|D652FF}}{{#vardefine:col2|73008C}}{{#vardefine:col3|294A4A}}
|d|dark|black|gray|grey={{
#vardefine:col0|948C94}}{{#vardefine:col1|B5B5B5}}{{#vardefine:col2|5A5A5A}}{{#vardefine:col3|294A4A}}
|#default={{
#vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}}{{#vardefine:col3|294A4A}}
}}<div style="
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;
background: #{{#var:col0}};
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}};
}}
<div style="{{#var:plusStyle}}; top:0; left:0; right:50%; bottom:50%;"></div>
<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==
{{NaviCustProgramPart}}
 
{{NaviCustProgramPart|g}}
 
{{NaviCustProgramPart|y|+}}
 
{{NaviCustProgramPart|r|p}}
 
==Usage==
<pre>{{NaviCustProgramPart}}
 
{{NaviCustProgramPart|g}}
 
{{NaviCustProgramPart|y|+}}
 
{{NaviCustProgramPart|r|p}}</pre></noinclude>

Latest revision as of 04:29, 3 March 2016

Example

Usage

{{NaviCustProgramPart}}

{{NaviCustProgramPart|g}}

{{NaviCustProgramPart|y|+}}

{{NaviCustProgramPart|r|p}}