Template

NaviCustProgramPart: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
#switch:{{lc:{{{1}}}}}
#switch:{{#var:l1}}
|w|white={{
|w|white={{
#vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}}
#vardefine:col0|FFFFFF}}{{#vardefine:col1|FFFFFF}}{{#vardefine:col2|CECED6}}
Line 27: Line 27:
|
|
<div style="
<div style="
box-sizing: border-box;
position: relative;
position: relative;
width: 20px;
height: 20px;
box-sizing: border-box;
border: 1px solid;
{{
{{
#ifeq: {{{2}}}
#ifeq: {{lc:{{{1}}}}}
| +
| {{{1}}}
|
| opacity: 0.333;
|
}}
{{
#switch: {{lc:{{{2}}}}}
|#default=
width: 20px;
height: 20px;
border: 1px solid;
background: #{{#var:col0}};
background: #{{#var:col0}};
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}};
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}};
|+=
width: 20px;
height: 20px;
|p=
width: 12px;
height: 32px;
border: 2px solid;
border-color: #949494 #4A4A52 #4A4A52 #949494;
}}
}}
">
">
Line 66: Line 78:


{{NaviCustProgramPart|y|+}}
{{NaviCustProgramPart|y|+}}
{{NaviCustProgramPart|r|p}}


==Usage==
==Usage==
Line 72: Line 86:
{{NaviCustProgramPart|g}}
{{NaviCustProgramPart|g}}


{{NaviCustProgramPart|y|+}}</pre></noinclude>
{{NaviCustProgramPart|y|+}}
 
{{NaviCustProgramPart|r|p}}</pre></noinclude>

Revision as of 03:44, 3 March 2016

Example

Usage

{{NaviCustProgramPart}}

{{NaviCustProgramPart|g}}

{{NaviCustProgramPart|y|+}}

{{NaviCustProgramPart|r|p}}