Difference between revisions of "Template:Nicetable"

From Lunarpedia
Jump to: navigation, search
(a template to assist in creating nice looking tables)
 
(tinkering)
 
Line 3: Line 3:
 
<DIV style="border:solid #5F5F5F 1px; background:#EFEFDF; padding:5px 5px 5px 5px; text-align:left;margin-top:5px;">
 
<DIV style="border:solid #5F5F5F 1px; background:#EFEFDF; padding:5px 5px 5px 5px; text-align:left;margin-top:5px;">
  
<onlyinclude>border="2" cellpadding="4" cellspacing="0" style="background:#F7F7F7; border:1px #A0A0A0 solid; border-collapse:collapse"</onlyinclude>
+
<onlyinclude>border="2" cellpadding="4" cellspacing="0" style="background:#F7F7F7; border:1px #A0A0A0 solid; border-collapse:collapse;"</onlyinclude>
  
 
</DIV>
 
</DIV>

Latest revision as of 08:49, 30 April 2015

A workaround for lack of wikitable

border="2" cellpadding="4" cellspacing="0" style="background:#F7F7F7; border:1px #A0A0A0 solid; border-collapse:collapse;"

To use:

{| {{nicetable}}
|-
|A
|B
|C
|-
|1
|2
|3
|-
|a
|b
|c
|}

Result:

A B C
1 2 3
a b c