Template:CIO: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="position: relative; width:26px; height:30px; display: inline-block; vertical-align: middle"><div style="position: absolute; top:0px; left: 0; z-index: 0">[[File:{{#switch:{{{1|}}}|1=IndictorOverlay|2=IconHoldIndicator.png}}.png|26px]]</div> <div style="position: absolute;">[[File:{{#switch:{{{2|}}}|X=X|Z=Z|NAZ=NAZ|NAX=NAX|HoldX=HoldX|HoldZ=HoldZ}}.png|26px]]</div></div></includeonly><noinclude>{{Doc}}</noinclude>
<includeonly><div style="position: relative; width:26px; height:30px; display: inline-block; vertical-align: middle"><div style="position: absolute; top:0px; left: 0; z-index: 0">[[File:IndictorOverlay.png|26px]]</div> <div style="position: absolute;">[[File:{{#switch:{{{1|}}}|X=X|Z=Z|NAZ=NAZ|NAX=NAX}}.png|26px]]</div></div></includeonly><noinclude>{{Doc}}</noinclude>

Revision as of 08:45, 19 April 2022

Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:CIO/doc.

What is it used for?

CIO, short for Combo Icon Overlay
This is an overlay template that can be used to indicate a particular command within a combo.

For example, the outline will overlay the combo to become

.

How to use

Code

{{CIO|ComboIcon|Icontype}}

Parameters

  • {{CIO|ComboIcon}} - the combo icon that you wish to use.
  • {{CIO|ComboIcon|Icontype}} - Uses either Long, Hold or Con for rectangular and hold icons icons. Leave blank for squares.
    • Long -
    • Hold -
    • Con -
      • Do note that the overlay will most likely cover existing icons with color borders.

Examples

{{CIO|X}}

result:


{{CIO|DZ|Long}}

result:


{{CIO|ConZ|Con}}

result:


{{CIO|HoldZ|Hold}}

result:


{{CIO|NAZ}}

result:


{{CIO|RoX}}

result: