Template

NaviCustProgramPart: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 21: Line 21:
|#default={{
|#default={{
#vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}}
#vardefine:col0|4A6B8C}}{{#vardefine:col1|5A5A5A}}{{#vardefine:col2|294263}}
}}{{
}}<div style="
#ifeq: {{{1|_}}}
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:col0}};
border-color: #949494 #4A4A52 #4A4A52 #949494;
}}
">
{{
#ifeq: {{{2}}}
| +
|
|
|
{{#vardefine:plusStyle|
<div style="
position: absolute;
display: inline-block;
border: 1px solid;
box-sizing: border-box;
box-sizing: border-box;
position: relative;
background: #{{#var:col0}};
display: inline-block;
border-color: #{{#var:col1}} #{{#var:col2}} #{{#var:col2}} #{{#var:col1}};
{{
#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;
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>
<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}}

Revision as of 03:51, 3 March 2016

Example

Usage

{{NaviCustProgramPart}}

{{NaviCustProgramPart|g}}

{{NaviCustProgramPart|y|+}}

{{NaviCustProgramPart|r|p}}