Template:CIO/doc: Difference between revisions
From Elwiki
Shironsaki (talk | contribs) No edit summary |
Shironsaki (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== How to use == | == How to use == | ||
=== Code === | === Code === | ||
<nowiki>{{CIO|ComboIcon}}</nowiki> | <nowiki>{{CIO|ComboIcon|Icontype}}</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 '''Hold''' 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. | ||
=== Examples === | === Examples === | ||
Line 19: | Line 19: | ||
<nowiki>{{CIO| | <nowiki>{{CIO|DZ|Long}}</nowiki> | ||
result: {{CIO| | result: {{CIO|DZ|Long}} | ||
<nowiki>{{CIO|HoldZ|Hold}}</nowiki> | |||
result: {{CIO|HoldZ|Hold}} | |||
Revision as of 11:18, 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 or Hold 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|HoldZ|Hold}}
result:
{{CIO|NAZ}}
result:
{{CIO|RoX}}
result: