Template:CIO/doc: Difference between revisions

From Elwiki
No edit summary
m (Ritsu moved page Doc:Template:CIO to Template:CIO/doc)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
== What is it used for? ==
== What is it used for? ==
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.<br>
This is an overlay template that can be used to indicate a particular command within a combo.
[[File:IndictorOverlay.png|26px]] will overlay with for example {{CZ}} to become {{CIO|Z}}.
 
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|Z}} or {{CIO|X}}</nowiki>
<nowiki>{{CIO|ComboIcon|Icontype}}</nowiki><br>
 
=== Parameters ===
*<nowiki>{{CIO|</nowiki>'''ComboIcon'''<nowiki>}}</nowiki> - the combo icon that you wish to use.
*<nowiki>{{CIO|ComboIcon|</nowiki>'''Icontype'''<nowiki>}}</nowiki> - Uses either '''Long''', '''Hold''' or '''Con''' for rectangular and hold icons icons. Leave blank for squares.
**Long - [[File:IconLongIndicator.png|80x26px]]
**Hold - [[File:IconHoldIndicator.png|80x26px]]
**Con - [[File:IconConIndicator.png|45x26px]]
***Do note that the overlay will most likely cover existing icons with color borders.
 
=== Examples ===
<nowiki>{{CIO|X}}</nowiki>
result: {{CIO|X}}
 
 
<nowiki>{{CIO|DZ|Long}}</nowiki>
result: {{CIO|DZ|Long}}
 
 
<nowiki>{{CIO|ConZ|Con}}</nowiki>
result: {{CIO|ConZ|Con}}
 
 
<nowiki>{{CIO|HoldZ|Hold}}</nowiki>
result: {{CIO|HoldZ|Hold}}
 
 
<nowiki>{{CIO|NAZ}}</nowiki>
result: {{CIO|NAZ}}
 
 
<nowiki>{{CIO|RoX}}</nowiki>
result: {{CIO|RoX}}

Latest revision as of 17:10, 24 August 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. 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: