Difference between revisions of "Template:Echo"

From RPC Library
Jump to navigation Jump to search
 
(28 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|}
 
|}
  
 +
={{{tab1-name|tab1}}}=
 +
{| {{#if:{{{border|}}} |border="{{{border}}}px solid {{{border-color|}}}"| }} style="border-collapse:collapse;background:{{{light-bg|white}}};width:calc(100% + 4px);height:40px;position:absolute;top:-2px;left:-2px;"
 +
| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}background:{{{dark-bg|lightgrey}}}" |{{#switchtablink:{{{tab1-name|tab1}}}|{{{tab1-name|tab1}}}}}
 +
| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}"|{{#switchtablink:{{{tab2-name|tab2}}}|{{{tab2-name|tab2}}}}}
 +
|}
 +
{| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}background:{{{light-bg|white}}};width:calc(100% + 48px);width:-webkit-calc(100% + 49px);margin:-13px 0 -17px -24px"
 +
|{{EchoTable
 +
|border={{{border|1}}}
 +
|border-color={{{border-color}}}
 +
|flush=true;
 +
}}
 +
| {{{tab1-content|tab1-content}}}
 +
|}
 +
|}
  
 +
={{{tab2-name|tab2}}}=
 +
{| {{#if:{{{border|}}} |border="{{{border}}}px solid {{{border-color|}}}"| }} style="border-collapse:collapse;background:{{{light-bg|white}}};width:calc(100% + 4px);height:40px;position:absolute;top:-2px;left:-2px"
 +
| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}" | {{#switchtablink:{{{tab1-name|tab1}}}|{{{tab1-name|tab1}}}}}
 +
| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}background:{{{dark-bg|lightgrey}}}"|{{#switchtablink:{{{tab2-name|tab2}}}|{{{tab2-name|tab2}}}}}
 +
|}
 +
{| style="{{#if:{{{border|}}} | border:{{{border}}}px solid {{{border-color}}}; | }}background:{{{light-bg|white}}};width:calc(100% + 48px);width:-webkit-calc(100% + 49px);margin:-13px 0 -17px -24px"
 +
|{{EchoTable
 +
|border={{{border|1}}}
 +
|border-color={{{border-color}}}
 +
|flush=true
 +
}}
 +
| {{{tab2-content|tab2-content}}}
 +
|}
 +
|}
  
 
<headertabs/>
 
<headertabs/>
{| style="background:lightblue;width:100%"
+
{| style="background:{{{light-bg|white}}};width:100%"
 
| {{EchoTable
 
| {{EchoTable
 
|border={{{border|1}}}
 
|border={{{border|1}}}
Line 18: Line 46:
 
|flush=true
 
|flush=true
 
}}
 
}}
| <br />Footer
+
| {{{footer|}}}
 
|}
 
|}
 
|}
 
|}

Latest revision as of 22:06, 10 May 2016

[edit]
tab1 tab2
tab1-content
tab1 tab2
tab2-content