Template:CIO/doc: Difference between revisions
From Elwiki
Shironsaki (talk | contribs) |
Shironsaki (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== How to use == | == How to use == | ||
=== Code === | === Code === | ||
<nowiki>{{CIO|ComboIcon|Icontype}}</nowiki> | <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 === | ||
*<nowiki>{{CIO|</nowiki>'''ComboIcon'''<nowiki>}}</nowiki> - the combo icon that you wish to use. | *<nowiki>{{CIO|</nowiki>'''ComboIcon'''<nowiki>}}</nowiki> - the combo icon that you wish to use. | ||
*<nowiki>{{CIO|ComboIcon|</nowiki>'''Icontype'''<nowiki>}}</nowiki> - Uses either '''Long''' or ''' | *<nowiki>{{CIO|ComboIcon|</nowiki>'''Icontype'''<nowiki>}}</nowiki> - 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. | **Do note that the overlay will most likely cover existing icons with color borders. | ||
Revision as of 11:38, 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}}
- If you wish to add it in sentence without it breaking to the next line, use <p style="display: inline-block; margin-top: 0;"> {{CIO|Z}} </p>
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: