Template:CIO/doc: Difference between revisions

From Elwiki
No edit summary
m (Ritsu moved page Doc:Template:CIO to Template:CIO/doc)
 
(6 intermediate revisions by 2 users not shown)
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}}</nowiki>
<nowiki>{{CIO|ComboIcon|Icontype}}</nowiki><br>


=== Parameters ===
=== Parameters ===
*<nowiki>{{CIO|</nowiki>'''ComboIcon'''<nowiki>}}</nowiki> - the combo icon that you wish to use. (Only for square icons)
*<nowiki>{{CIO|</nowiki>'''ComboIcon'''<nowiki>}}</nowiki> - the combo icon that you wish to use.  
**Do note that the overlay will most likely cover existing icons with color borders.
*<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 ===
=== Examples ===
Line 19: Line 23:




  <nowiki>{{CIO|Z}}</nowiki>
  <nowiki>{{CIO|DZ|Long}}</nowiki>
result: {{CIO|Z}}
result: {{CIO|DZ|Long}}
 
 
<nowiki>{{CIO|ConZ|Con}}</nowiki>
result: {{CIO|ConZ|Con}}
 
 
<nowiki>{{CIO|HoldZ|Hold}}</nowiki>
result: {{CIO|HoldZ|Hold}}





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: