Difference between revisions of "Template:EchoTable"

From RPC Library
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="{{#if: {{{flush|}}} | position:relative;right:-6px;margin:-3px -6px -3px 0; | }}width:100%;border-spacing:0;{{#if:{{{border|}}} | border:{{{border|}}}px solid {{{border-color|black}}}; | }}{{#if: {{{rounded-top|}}} | border-radius:10px 10px 0 0; | }}"
+
{| style="{{#if: {{{flush|}}} | margin:-2px;width:calc(100% + 4px); | width:100%; }}border-spacing:0;{{#if:{{{border|}}} | border:{{{border|}}}px solid {{{border-color|black}}}; | }}{{#if: {{{rounded-top|}}} | border-radius:10px 10px 0 0; | }}"
 
{{#if: {{{header|}}} | ! colspan={{{cols|1}}} style="background:linear-gradient({{{dark-bg}}}, {{{light-bg}}}, {{{dark-bg}}});{{#if: {{{border|}}} | border-bottom:{{{border|}}}px solid {{{border-color|black}}};}}{{#if: {{{rounded-top|}}} | border-radius:10px 10px 0 0; | }}" {{!}} {{{header}}}
 
{{#if: {{{header|}}} | ! colspan={{{cols|1}}} style="background:linear-gradient({{{dark-bg}}}, {{{light-bg}}}, {{{dark-bg}}});{{#if: {{{border|}}} | border-bottom:{{{border|}}}px solid {{{border-color|black}}};}}{{#if: {{{rounded-top|}}} | border-radius:10px 10px 0 0; | }}" {{!}} {{{header}}}
 
{{!}}- | }}
 
{{!}}- | }}
{{EchoTableRow
 
|content = {{{content1-1|}}}
 
|shaded={{#if: {{{shaded|}}} | {{{dark-bg}}} | }}
 
}}
 
{{#ifexpr: 1 < {{{cols|1}}} | {{EchoTableRow
 
|content = {{{content1-2|}}}
 
|shaded={{#if: {{{shaded|}}} | {{{dark-bg}}} | }}
 
}} | }}
 
|}
 

Latest revision as of 09:21, 11 May 2016