Difference between revisions of "Template:ThinTable"

From Hobowars Wiki
Jump to: navigation, search
m
m (cat)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
<noinclude>Makes a cleaner style table with a thin border, the background color isn't set so you can change it. Just add <nowiki>{{ThinTableG}}</nowiki> to the opening table. example:<br><br>
 
<noinclude>Makes a cleaner style table with a thin border, the background color isn't set so you can change it. Just add <nowiki>{{ThinTableG}}</nowiki> to the opening table. example:<br><br>
<nowiki>
+
<nowiki>{| {{ThinTableG}}</nowiki><br>
{| {{ThinTableG}}</nowiki><br>
+
 
|-<br>
 
|-<br>
 
! Column1 !! Column2<br>
 
! Column1 !! Column2<br>
Line 14: Line 13:
  
 
shows as:
 
shows as:
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
+
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
! Column1 !! Column2
 
! Column1 !! Column2
 
|-
 
|-
Line 23: Line 22:
 
| 3+4 || 7
 
| 3+4 || 7
 
|}
 
|}
 
+
[[Category:All wiki templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:56, 9 June 2013

border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" Makes a cleaner style table with a thin border, the background color isn't set so you can change it. Just add {{ThinTableG}} to the opening table. example:

{| {{ThinTableG}}
|-
! Column1 !! Column2
|
| 1+2 || 3
|-
| 2+3 || 5
|-
| 3+4 || 7
|}

shows as:

Column1 Column2
1+2 3
2+3 5
3+4 7