Template:Clr: Difference between revisions

From Dissidia Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{ac|}}}|<span style="color:#e67300">AC</span>}} {{#if:{{{wr|}}}|<span style="color:#ff0000">WR</span>}} {{#if:{{{ll|}}}|<span style="color:#00802b">LL</span>}} {{#if:{{{dc|}}}|<span style="color:#4d4dff">DC</span>}}{{#if:{{{chase|}}}|<span style="color:#cc00cc">Chase</span>}} {{#if:{{{astbrv|}}}|<span style="color:#0066ff">AST BRV</span>}} {{#if:{{{asthp|}}}|<span style="color:#0066ff">AST HP</span>}}</includeonly><noinclude>
<includeonly>{{#if:{{{ac|}}}|<span style="color:#e67300">AC</span>}} {{#if:{{{wr|}}}|<span style="color:#ff0000">WR</span>}} {{#if:{{{ll|}}}|<span style="color:#00802b">LL</span>}} {{#if:{{{dc|}}}|<span style="color:#4d4dff">DC</span>}}{{#if:{{{chase|}}}|<span style="color:#cc00cc">Chase</span>}} {{#if:{{{astbrv|}}}|<span style="color:#0066ff">AST BRV</span>}} {{#if:{{{asthp|}}}|<span style="color:#0066ff">AST HP</span>}}</includeonly><noinclude>
= Template =
 
This is a template for displaying certain combo notations in different colors for ease of reading. Use one of the following clr parameters to display a colored text. "1" simply means the "if statement" is true, so it will display just that specific text. The terms will be abbreviated, except for chase.
This is a template for displaying certain combo notations in different colors for ease of reading. Use one of the following clr parameters to display a colored text. "1" simply means the "if statement" is true, so it will display just that specific text. The terms will be abbreviated, except for chase.



Revision as of 06:14, 10 May 2025


This is a template for displaying certain combo notations in different colors for ease of reading. Use one of the following clr parameters to display a colored text. "1" simply means the "if statement" is true, so it will display just that specific text. The terms will be abbreviated, except for chase.

ac = Assist Chase
wr = Wall Rush
ll = Landing Lag
dc = Dodge Cancel
chase = Chase
astbrv = Assist (BRV)
asthp = Assist (HP)
{{clr|ac=1}}
{{clr|wr=1}}
{{clr|ll=1}}
{{clr|dc=1}}
{{clr|chase=1}}
{{clr|astbrv=1}}
{{clr|asthp=1}}

So in order to use it in a combo table, add clr with an appropriate parameter (e.g. wr), like this:

{{Combo-012
|data=
{{Combo-012Data
|combo='''Sonic Break (2)''' > {{clr|wr=1}}
}}

Check Cloud's starter guide combos for a visual example. Ideally the templates don't create new lines within tables.