Template:CIO/doc: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 3: Line 3:
CIO, short for Combo Icon Overlay<br>
CIO, short for Combo Icon Overlay<br>
This is an overlay template that can be used to indicate a particular command within a combo.
This is an overlay template that can be used to indicate a particular command within a combo.
<p style="display: inline-block; margin-top: 0;">For example, the outline [[File:IndictorOverlay.png|26px]] will overlay the combo {{CZ}} to become&nbsp;{{CIO|Z}}</p>
 
For example, the outline [[File:IndictorOverlay.png|26px]] will overlay the combo {{CZ}} to become {{CIO|Z}}.


== How to use ==
== How to use ==
=== Code ===
=== Code ===
<nowiki>{{CIO|ComboIcon|Icontype}}</nowiki><br>
<nowiki>{{CIO|ComboIcon|Icontype}}</nowiki><br>
*If you wish to add it in sentence without it breaking to the next line, use '''<nowiki><p style="display: inline-block; margin-top: 0;"> {{CIO|Z}} </p></nowiki>'''


=== Parameters ===
=== Parameters ===

Revision as of 12:46, 25 April 2022

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
    • 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: