Template:CHEntry: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(simplifying UPDS)
(valigning)
Line 5: Line 5:
!style="background:silver;" rowspan="{{#if: {{{R4|}}}|4|{{#if: {{{R3|}}}|3|{{#if: {{{R2|}}}|2|1}}}}}}"|{{{Note|}}}
!style="background:silver;" rowspan="{{#if: {{{R4|}}}|4|{{#if: {{{R3|}}}|3|{{#if: {{{R2|}}}|2|1}}}}}}"|{{{Note|}}}
{{#if: {{{R2|}}}|
{{#if: {{{R2|}}}|
{{!-}}
{{!-}}valign=middle
!style="background:silver;"{{!}}{{Pips|{{{R2}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{Pips|{{{R2}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{{R2}}}
!style="background:silver;"{{!}}{{{R2}}}
{{#if: {{{D2|}}}|!style="background:silver;"{{!}}{{{D2}}}|}}|}}
{{#if: {{{D2|}}}|!style="background:silver;"{{!}}{{{D2}}}|}}|}}
{{#if: {{{R3|}}}|
{{#if: {{{R3|}}}|
{{!-}}
{{!-}}valign=middle
!style="background:silver;"{{!}}{{Pips|{{{R3}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{Pips|{{{R3}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{{R3}}}
!style="background:silver;"{{!}}{{{R3}}}
{{#if: {{{D3|}}}|!style="background:silver;"{{!}}{{{D3}}}|}}|}}
{{#if: {{{D3|}}}|!style="background:silver;"{{!}}{{{D3}}}|}}|}}
{{#if: {{{R4|}}}|
{{#if: {{{R4|}}}|
{{!-}}
{{!-}}valign=middle
!style="background:silver;"{{!}}{{Pips|{{{R4}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{Pips|{{{R4}}}|{{{5}}}|{{{Style|}}}}}
!style="background:silver;"{{!}}{{{R4}}}
!style="background:silver;"{{!}}{{{R4}}}

Revision as of 14:31, 27 September 2014

A template for adding entries to Template:CHSection.