Template:Condition page: Difference between revisions

Jump to navigation Jump to search
m
More options for tick type. Lower case redundancy
(Removed errant right brace)
m (More options for tick type. Lower case redundancy)
Line 29: Line 29:
{{#if: {{{tick type|}}}|{{blank}}
{{#if: {{{tick type|}}}|{{blank}}


{{SmallIcon|Duration Icons.png}}[[Conditions#Duration|Loses duration]]: {{#switch: {{{tick type}}}
{{SmallIcon|Duration Icons.png}}[[Conditions#Duration|Loses duration]]: {{#switch: {{lc:{{{tick type}}}}}
  | start = start of turn
  | start | start turn | startturn = start of turn
  | end = end of turn
  | end | end turn | endturn = end of turn
  | none = N/A
  | start round | startround = start of round
| end round | endround = 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: {{{stack type}}}
{{SmallIcon|Sort Icon.png}}[[Conditions#Stack type|If already applied]]: {{#switch: {{lc:{{{stack type}}}}}
  | additive = add to duration
  | additive = add to duration
  | overwrite = replace current
  | overwrite = replace current

Navigation menu