Template:Alternating rows table section: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| | ||
{{!}}- style="{{{os|}}}" | |||
{{{1|}}} }} {{{{#if:{{{1|}}}|1x|void}}| | {{{1|}}} }} {{{{#if:{{{1|}}}|1x|void}}| | ||
}}{{#if:{{{2|}}}| | }}{{#if:{{{2|}}}| | ||
|- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} ) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | {{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} ) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | ||
{{{2|}}} }} {{{{#if:{{{2|}}}|1x|void}}| | |||
}}{{#if:{{{3|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} ) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{3|}}} }} {{{{#if:{{{3|}}}|1x|void}}| | |||
}}{{#if:{{{4|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{4|}}} }} {{{{#if:{{{4|}}}|1x|void}}| | |||
}}{{#if:{{{5|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{5|}}} }} {{{{#if:{{{5|}}}|1x|void}}| | |||
}}{{#if:{{{6|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{6|}}} }} {{{{#if:{{{6|}}}|1x|void}}| | |||
}}{{#if:{{{7|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{7|}}} }} {{{{#if:{{{7|}}}|1x|void}}| | |||
}}{{#if:{{{8|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{8|}}} }} {{{{#if:{{{8|}}}|1x|void}}| | |||
}}{{#if:{{{9|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{9|}}} }} {{{{#if:{{{9|}}}|1x|void}}| | |||
}}{{#if:{{{10|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{10|}}} }} {{{{#if:{{{10|}}}|1x|void}}| | |||
}}{{#if:{{{11|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{11|}}} }} {{{{#if:{{{11|}}}|1x|void}}| | |||
}}{{#if:{{{12|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{12|}}} }} {{{{#if:{{{12|}}}|1x|void}}| | |||
}}{{#if:{{{13|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{13|}}} }} {{{{#if:{{{13|}}}|1x|void}}| | |||
}}{{#if:{{{14|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{14|}}} }} {{{{#if:{{{14|}}}|1x|void}}| | |||
}}{{#if:{{{15|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{15|}}} }} {{{{#if:{{{15|}}}|1x|void}}| | |||
}}{{#if:{{{16|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{16|}}} }} {{{{#if:{{{16|}}}|1x|void}}| | |||
}}{{#if:{{{17|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{17|}}} }} {{{{#if:{{{17|}}}|1x|void}}| | |||
}}{{#if:{{{18|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{18|}}} }} {{{{#if:{{{18|}}}|1x|void}}| | |||
}}{{#if:{{{19|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{19|}}} }} {{{{#if:{{{19|}}}|1x|void}}| | |||
}}{{#if:{{{20|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{20|}}} }} {{{{#if:{{{20|}}}|1x|void}}| | |||
}}{{#if:{{{21|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{21|}}} }} {{{{#if:{{{21|}}}|1x|void}}| | |||
}}{{#if:{{{22|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{22|}}} }} {{{{#if:{{{22|}}}|1x|void}}| | |||
}}{{#if:{{{23|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{23|}}} }} {{{{#if:{{{23|}}}|1x|void}}| | |||
}}{{#if:{{{24|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{24|}}} }} {{{{#if:{{{24|}}}|1x|void}}| | |||
}}{{#if:{{{25|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{25|}}} }} {{{{#if:{{{25|}}}|1x|void}}| | |||
}}{{#if:{{{26|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{26|}}} }} {{{{#if:{{{26|}}}|1x|void}}| | |||
}}{{#if:{{{27|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{27|}}} }} {{{{#if:{{{27|}}}|1x|void}}| | |||
}}{{#if:{{{28|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{28|}}} }} {{{{#if:{{{28|}}}|1x|void}}| | |||
}}{{#if:{{{29|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{29|}}} }} {{{{#if:{{{29|}}}|1x|void}}| | |||
}}{{#if:{{{30|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }} + {{ #ifeq: {{{29}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{30|}}} }} {{{{#if:{{{30|}}}|1x|void}}| | |||
}}{{#if:{{{31|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }} + {{ #ifeq: {{{29}}} || 0 | 1 }} + {{ #ifeq: {{{30}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{31|}}} }} {{{{#if:{{{31|}}}|1x|void}}| | |||
}}{{#if:{{{32|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }} + {{ #ifeq: {{{29}}} || 0 | 1 }} + {{ #ifeq: {{{30}}} || 0 | 1 }} + {{ #ifeq: {{{31}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{32|}}} }} {{{{#if:{{{32|}}}|1x|void}}| | |||
}}{{#if:{{{33|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }} + {{ #ifeq: {{{29}}} || 0 | 1 }} + {{ #ifeq: {{{30}}} || 0 | 1 }} + {{ #ifeq: {{{31}}} || 0 | 1 }} + {{ #ifeq: {{{32}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{33|}}} }} {{{{#if:{{{33|}}}|1x|void}}| | |||
}}{{#if:{{{34|}}}| | |||
{{!}}- style="{{#ifexpr: ({{ #ifeq: {{{1}}} || 0 | 1 }} + {{ #ifeq: {{{2}}} || 0 | 1 }} + {{ #ifeq: {{{3}}} || 0 | 1 }} + {{ #ifeq: {{{4}}} || 0 | 1 }} + {{ #ifeq: {{{5}}} || 0 | 1 }} + {{ #ifeq: {{{6}}} || 0 | 1 }} + {{ #ifeq: {{{7}}} || 0 | 1 }} + {{ #ifeq: {{{8}}} || 0 | 1 }} + {{ #ifeq: {{{9}}} || 0 | 1 }} + {{ #ifeq: {{{10}}} || 0 | 1 }} + {{ #ifeq: {{{11}}} || 0 | 1 }} + {{ #ifeq: {{{12}}} || 0 | 1 }} + {{ #ifeq: {{{13}}} || 0 | 1 }} + {{ #ifeq: {{{14}}} || 0 | 1 }} + {{ #ifeq: {{{15}}} || 0 | 1 }} + {{ #ifeq: {{{16}}} || 0 | 1 }} + {{ #ifeq: {{{17}}} || 0 | 1 }} + {{ #ifeq: {{{18}}} || 0 | 1 }} + {{ #ifeq: {{{19}}} || 0 | 1 }} + {{ #ifeq: {{{20}}} || 0 | 1 }} + {{ #ifeq: {{{21}}} || 0 | 1 }} + {{ #ifeq: {{{22}}} || 0 | 1 }} + {{ #ifeq: {{{23}}} || 0 | 1 }} + {{ #ifeq: {{{24}}} || 0 | 1 }} + {{ #ifeq: {{{25}}} || 0 | 1 }} + {{ #ifeq: {{{26}}} || 0 | 1 }} + {{ #ifeq: {{{27}}} || 0 | 1 }} + {{ #ifeq: {{{28}}} || 0 | 1 }} + {{ #ifeq: {{{29}}} || 0 | 1 }} + {{ #ifeq: {{{30}}} || 0 | 1 }} + {{ #ifeq: {{{31}}} || 0 | 1 }} + {{ #ifeq: {{{32}}} || 0 | 1 }} + {{ #ifeq: {{{33}}} || 0 | 1 }}) mod 2 = 0 | {{{os|}}} | {{{es|}}} }}" | |||
{{{34|}}} }} {{{{#if:{{{34|}}}|1x|void}}| | |||
}}</includeonly><noinclude> | |||
===Usage=== | |||
'''Alternating rows table section''' allows for the dynamic creation of tables that use alternating styles for odd and even numbered rows, typically in conjunction with a template which generates a table where some rows may not be present every time. | |||
There are two named arguments to this template: | |||
;os:Defines the CSS style for odd-numbered rows. | |||
;es:Defines the CSS style for even-numbered rows. | |||
==Example== | |||
<pre> | |||
<nowiki> | |||
{| class="wikitable" | |||
! Place !! Result | |||
{{Alternating rows table section|es=background:#f0f0f0; | |||
| {{!}} First {{!!}} 100 | |||
| {{!}} Second {{!!}} 95 | |||
| <!-- empty! --> | |||
| {{!}} Third {{!!}} 87 | |||
| <!-- empty! --> | |||
| {{!}} Fourth {{!!}} 65 | |||
| {{!}} Fifth {{!!}} 58 | |||
}} | |||
|} | |||
</nowiki></pre> | |||
{| class="wikitable" | |||
! Place !! Result | |||
{{Alternating rows table section|es=background:#f0f0f0; | |||
| {{!}} First {{!!}} 100 | |||
| {{!}} Second {{!!}} 95 | |||
| <!-- empty! --> | |||
| {{!}} Third {{!!}} 87 | |||
| <!-- empty! --> | |||
| {{!}} Fourth {{!!}} 65 | |||
| {{!}} Fifth {{!!}} 58 | |||
}} | }} | ||
</ | |}</noinclude><noinclude>[[Category:Templates]] [[Category:Wiki Template]]</noinclude> | ||
<noinclude> | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 16:26, 9 August 2024
Usage
Alternating rows table section allows for the dynamic creation of tables that use alternating styles for odd and even numbered rows, typically in conjunction with a template which generates a table where some rows may not be present every time.
There are two named arguments to this template:
- os
- Defines the CSS style for odd-numbered rows.
- es
- Defines the CSS style for even-numbered rows.
Example
{| class="wikitable" ! Place !! Result {{Alternating rows table section|es=background:#f0f0f0; | {{!}} First {{!!}} 100 | {{!}} Second {{!!}} 95 | <!-- empty! --> | {{!}} Third {{!!}} 87 | <!-- empty! --> | {{!}} Fourth {{!!}} 65 | {{!}} Fifth {{!!}} 58 }} |}
Place | Result |
---|---|
First | 100 |
Second | 95 |
Third | 87 |
Fourth | 65 |
Fifth | 58 |