Template

NaviCustProgramPart: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
(Undo revision 3170 by Prof. 9 (talk))
Line 1: Line 1:
<includeonly><div style="position:relative;width:18px;height:18px;background:#{{#sub:{{NaviCustProgramColor|}}|0|6}};border: 1px solid;border-color:#{{#sub:{{NaviCustProgramColor|}}|7|6}} #{{#sub:{{NaviCustProgramColor|}}|14|6}} #{{#sub:{{NaviCustProgramColor|}}|14|6}} #{{#sub:{{NaviCustProgramColor|}}|7|6}}">{{#switch:{{{1}}}|W|w|M|m|Y|y|R|r|B|b|G|g|O|o|P|p|D|d={{#ifeq:{{{2}}}|plus{{{!}}style="position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;width:20px;height:20px;border-spacing:0;{{#switch:{{{1}}}|w|m|y|r|b|g|o|p|d=opacity:0.5}}"
<div style="position:relative;width:18px;height:18px;background:#{{#sub:{{NaviCustProgramColor|}}|0|6}};border: 1px solid;border-color:#{{#sub:{{NaviCustProgramColor|}}|7|6}} #{{#sub:{{NaviCustProgramColor|}}|14|6}} #{{#sub:{{NaviCustProgramColor|}}|14|6}} #{{#sub:{{NaviCustProgramColor|}}|7|6}}">{{#switch:{{{1}}}|W|w|M|m|Y|y|R|r|B|b|G|g|O|o|P|p|D|d=
{{#ifeq:{{{2}}}|plus|{{{!}}style="position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;width:20px;height:20px;border-spacing:0;{{#switch:{{{1}}}|w|m|y|r|b|g|o|p|d=opacity:0.5}}"
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
Line 5: Line 6:
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}style="width:6px;height:6px;padding:0;border:2px solid;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}}"{{!}}
{{!}}}|<div style="position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border: 1px solid;border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}};{{#switch:{{{1}}}|w|m|y|r|b|g|o|p|d=opacity:0.5}}"></div>}}}}</div></includeonly><noinclude>
{{!}}}
==Example==
|<div style="position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|0|6}};border: 1px solid;border-color:#{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|14|6}} #{{#sub:{{NaviCustProgramColor|{{{1}}}}}|7|6}};{{#switch:{{{1}}}|w|m|y|r|b|g|o|p|d=opacity:0.5}}"></div>
{{NaviCustProgramPart}}
}}
 
}}
{{NaviCustProgramPart|w}}
</div>
 
{{NaviCustProgramPart|g|plus}}
 
==Usage==
<pre>{{NaviCustProgramPart}}
 
{{NaviCustProgramPart|w}}
 
{{NaviCustProgramPart|g|plus}}</pre></noinclude>

Revision as of 20:29, 16 November 2015