User:Niirfa-sa/Template:State

{{#ifexpr: or |
 * class="infoboxcell" colspan="" style="width:{{#if:|50%|{{#if:|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="" style="width:{{#if:|50%|{{#if:|11%|25%}}|}}; vertical-align:top; " |


 * class="infoboxcell" colspan="" style="width:{{#if:|25%|{{#if:|33%|50%}}|}}" |

{{#ifexpr:{{#if:|1|0}} or {{#if:|2|0}}| {{{event2|}}}
 * }}
 * -|}}
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{date3|}}}|50%|{{#if:|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{date3|}}}|50%|{{#if:|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="" style="width:{{#if:|25%|{{#if:{{{event3|}}}|33%|50%}}|}}" |

{{#ifexpr:{{#if:|1|0}} or {{#if:|2|0}}| {{{event3|}}}
 * }}
 * class="infoboxcell" colspan="{{#if:{{{event4|}}}|1|0}}" style="width:{{#if:{{date4|}}}|50%|{{#if:{{{event4|}}}|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="{{#if:{{{event4|}}}|1|0}}" style="width:{{#if:{{date4|}}}|50%|{{#if:{{{event4|}}}|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="" style="width:{{#if:{{{date4|}}}|25%|{{#if:{{{event4|}}}|33%|50%}}|}}" |

{{#ifexpr:{{#if:|1|0}} or {{#if:|2|0}}|
 * }}
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{end date|}}}|50%|{{#if:{{end event|}}}|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{end date|}}}|50%|{{#if:{{end event|}}}|11%|25%}}|}}; vertical-align:top; " |


 * class="infoboxcell" colspan="" style="width:" |

{{#ifexpr:{{#if:|1|0}} or {{#if:|2|0}}|
 * }}
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{successor|}}}|50%|{{#if:{{predecessor|}}}|11%|25%}}|}}; vertical-align:top; " |
 * class="infoboxcell" colspan="{{#if:|1|0}}" style="width:{{#if:{{successor|}}}|50%|{{#if:{{predecessor|}}}|11%|25%}}|}}; vertical-align:top; " |


 * class="infoboxcell" colspan="" style="width:" |


 * }}


 * }

An example is shown to the right: