Difference between revisions of "Template:Tab-2col"

From RPC Library
Jump to navigation Jump to search
(Template for a 2-columns coloured table)
 
m
 
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td style="vertical-align: top; width:50%;">
 
<td style="vertical-align: top; width:50%;">
<div style="padding:5px 10px;background: #{{{bg|ccc}}};font-size:13px;color:#{{{textcol|000}}};">{{{head1}}}</div>
+
<div style="padding:2px 5px;background: #{{{bg|ccc}}};font-size:13px;color:#{{{textcol|000}}};">{{{head1}}}</div>
 
{{{text1}}}
 
{{{text1}}}
 
<td style="vertical-align: top; width:50%;">
 
<td style="vertical-align: top; width:50%;">
<div style="padding:5px 10px;background: #{{{bg|ccc}}};font-size:13px;color:#{{{textcol|000}}};">{{{head2}}}</div>
+
<div style="padding:2px 5px;background: #{{{bg|ccc}}};font-size:13px;color:#{{{textcol|000}}};">{{{head2}}}</div>
 
{{{text2}}}
 
{{{text2}}}
 
</tr></table>
 
</tr></table>

Latest revision as of 11:03, 10 November 2018

{{{head1}}}

{{{text1}}}

{{{head2}}}

{{{text2}}}


{{Tab-2col
| bg = Default ccc
| textcol = Default 000
| head1 = column header
| text1 = Your text
| head2 = column header
| text2 = Your text
}}