1,931
editsIf a conditions has the status property "FreezeDuration", tick type will display as "No".
m (Added "format": "block") |
(If a conditions has the status property "FreezeDuration", tick type will display as "No".) |
||
Line 10: | Line 10: | ||
}}<!-- Check if the stack ID is used by any other conditions and save it as #lvar:stackid --> {{#if:{{{stack id|}}}|{{#vardefine:counter|0 | }}<!-- Check if the stack ID is used by any other conditions and save it as #lvar:stackid --> {{#if:{{{stack id|}}}|{{#vardefine:counter|0 | ||
}}{{#cargo_query:tables=conditions|fields=name|where=stack_id='{{{stack id}}}'|format=template|template=counter | }}{{#cargo_query:tables=conditions|fields=name|where=stack_id='{{{stack id}}}'|format=template|template=counter | ||
}}{{#lvardef:stackid | }}{{#lvardef:stackid|{{#ifeq:{{#var:counter}}|1||1}}}} | ||
}}{{PageSeo | }}{{PageSeo | ||
Line 34: | Line 34: | ||
}}{{#if: {{{tick type|}}}|{{blank}} | }}{{#if: {{{tick type|}}}|{{blank}} | ||
{{SmallIcon|Duration Icons.png}}[[Conditions#Duration|Loses duration]]: {{#switch: {{lc:{{{tick type}}}}} | {{SmallIcon|Duration Icons.png}}[[Conditions#Duration|Loses duration]]: {{#if:{{#invoke:String2|matchAny|source={{{properties}}}|FreezeDuration}}|{{SP|FreezeDuration|No}}|{{#switch: {{lc:{{{tick type}}}}} | ||
| start | start turn | startturn = start of turn | | start | start turn | startturn = start of turn | ||
| end | end turn | endturn = end of turn | | end | end turn | endturn = end of turn | ||
Line 41: | Line 41: | ||
| none = N/A | | none = N/A | ||
| #default = !syntax error! | | #default = !syntax error! | ||
}}{{Main namespace only|[[Category:Has tick type]]}}|{{Main namespace only|[[Category:No tick type]]}}}}{{#if: {{{stack type|}}}|{{blank}} | }}}}{{Main namespace only|[[Category:Has tick type]]}}|{{Main namespace only|[[Category:No tick type]]}}}}{{#if: {{{stack type|}}}|{{blank}} | ||
{{SmallIcon|Sort Icon.png}}[[Conditions#Stack type|If already applied]]: {{#switch: {{lc:{{{stack type}}}}} | {{SmallIcon|Sort Icon.png}}[[Conditions#Stack type|If already applied]]: {{#switch: {{lc:{{{stack type}}}}} | ||
Line 55: | Line 55: | ||
}}{{#if: {{{properties|}}}|{{blank}} | }}{{#if: {{{properties|}}}|{{blank}} | ||
{{SmallIcon|Options Icon.png}}[[Status properties|More properties]]:{{#invoke:ParseList|main|{{#arraydefine:propertiesList|{{{properties|}}}|,}}{{#arrayprint:propertiesList|,|@| | {{SmallIcon|Options Icon.png}}[[Status properties|More properties]]:{{#invoke:ParseList|main|{{#arraydefine:propertiesList|{{{properties|}}}|,}}{{#arrayprint:propertiesList|,|@|{{SP|@}}}}|type=htmlList}}{{Main namespace only|[[Category:Has status properties]]}}|{{Main namespace only|[[Category:No status properties]]}}}}|{{Main namespace only|[[Category:No stack ID]][[Category:No status groups]][[Category:No tick type]][[Category:No stack type]][[Category:No stack priority]][[Category:No status properties]]}}}} | ||
</div><references/> | </div><references/> | ||
{{#if:{{{notes|}}}| | {{#if:{{{notes|}}}| |