Note: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:CIO/doc.
Template:CIO: Difference between revisions
From Elwiki
Shironsaki (talk | contribs) No edit summary |
Shironsaki (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="position: relative; {{#switch: {{{2|}}}|Hold|Long|Con=width:54px; height:30px|#default=width:26px; height: | <includeonly><span style="position: relative; {{#switch: {{{2|}}}|Hold|Long|Con=width:54px; height:30px|#default=width:26px; height:36px}}; display: inline-block; vertical-align: middle; margin: 0 1px;"><span style="position: absolute; top:0px; left: 0; z-index: 2; pointer-events: none;">[[File:{{#switch:{{{2|}}}|Hold=IconHoldIndicator|Long=IconLongIndicator|Con=IconConIndicator|#default=IndictorOverlay}}.png|{{#switch: {{{2|}}}|Hold|Long=80x26px|Con=45x26px|#default=26px}}]]</span> <span style="position: absolute; display: block;">[[File:{{#if:{{{1|}}}|{{{1}}}|}}.png|{{#switch: {{{2|}}}|Hold=59x26px|Long=54x32px|Con=54x26px|#default=26px}}]]</span></span></includeonly><noinclude>{{Doc}}</noinclude> |
Revision as of 13:24, 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. Leave blank for squares.
Examples
{{CIO|X}}
{{CIO|DZ|Long}}
{{CIO|ConZ|Con}}
{{CIO|HoldZ|Hold}}
{{CIO|NAZ}}
{{CIO|RoX}}