Difference between revisions of "Template:ThinTableG"

From Hobowars Wiki
Jump to: navigation, search
m (Created page with "<noinclude>Makes a cleaner style table with a thin border and grey background. Just add <nowiki>{{ThinTableG}} to the opening table. example: {| {{ThinTableG}} ! Column1 !! Colu...")
 
m
Line 1: Line 1:
<noinclude>Makes a cleaner style table with a thin border and grey background. Just add <nowiki>{{ThinTableG}} to the opening table. example:
+
border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
 
+
<noinclude>Makes a cleaner style table with a thin border and grey background. Just add <nowiki>{{ThinTableG}}</nowiki> to the opening table. example:<br><br>
{| {{ThinTableG}}
+
<nowiki>
! Column1 !! Column2
+
{| {{ThinTableG}}</nowiki><br>
| 1+2 || 3
+
|-<br>
| 2+3 || 5
+
! Column1 !! Column2<br>
| 3+4 || 7
+
|<br>
|}</nowiki>
+
| 1+2 || 3<br>
 +
|-<br>
 +
| 2+3 || 5<br>
 +
|-<br>
 +
| 3+4 || 7<br>
 +
<nowiki>|}</nowiki><br>
  
 
shows as:
 
shows as:
{| {{ThinTableG}}
+
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
 
! Column1 !! Column2
 
! Column1 !! Column2
 +
|-
 
| 1+2 || 3
 
| 1+2 || 3
 +
|-
 
| 2+3 || 5
 
| 2+3 || 5
 +
|-
 
| 3+4 || 7
 
| 3+4 || 7
 
|}
 
|}
 
 
</noinclude>
 
</noinclude>
 
 
border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
 

Revision as of 13:50, 9 June 2013

border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" Makes a cleaner style table with a thin border and grey background. 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