19 June 2018, 21:54:14 *

Login with username, password and session length
Welcome to War and Tactics!    War and Tactics Forum is currently undergoing some modifications that might disable features you are used to. This is unabvoidable as we have to update the forum engine to a new structure that is incompatible with many of the features we had used so far. The good news: WaT will be more secure and stable, and most of the features we uninstalled will be a natural part of the new structure anyway. For the rest we will be looking for solutions. (APR 23, 2018)
   
  Home   Forum   Help ! Forum Rules ! Search Calendar Donations Login Register Chat  
Pages: [1]   Go Down
  Print  
Share this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on MySpaceShare this topic on RedditShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on Yahoo
Author Topic: How-To: ...build a table in a post  (Read 1888 times)
Koen
Poster

****

Offline Offline

Belgium

Location: Belgium
Posts: 4247




View Profile
« on: 28 December 2008, 22:37:31 »
ReplyReply

Go into this post by modifying it.
Copy/paste the content into your post.
Replace the content with your own content.

a diagram starts with [??] and ends with [/??] ??=table
a horizontal line starts with [??] and ends with [/??] ??=tr
and every input starts with [??] and ends with [/??] ??=td

you can, of course, build longer/wider diagrams

type:PzIPzIIPzIIIPzIV
numbers:100100025005000
production location:MunchenBerlinBayernAachen
barrel50mm50mm75mm75mm

K
« Last Edit: 2 January 2009, 11:59:41 by Koen » Logged
TechAdmin
Administrator

*

Offline Offline

Germany

Location: Planet Earth - sometimes...
Posts: 1002




View Profile WWW
« Reply #1 on: 25 March 2009, 20:32:59 »
ReplyReply

Trying that

line 1:a1b1c1d1
line 2:a2b2c2d2
line 3:a3b3c3d3
line 4:a4b4c4d4


NOTE this is not a "diagram", but something called a "table" (a diagram would be graphically representing data).

I spaced the table code up and changed the code layout a bit for easier readability/conversability (check by copying/pasting the code field into your next post), works like a charme.

Code for the above table:

Code:
[table]

[tr]
[td]line 1:[/td] [td]a1[/td] [td]b1[/td] [td]c1[/td] [td]d1[/td]
[/tr]

[tr]
[td]line 2:[/td] [td]a2[/td] [td]b2[/td] [td]c2[/td] [td]d2[/td]
[/tr]

[tr]
[td]line 3:[/td] [td]a3[/td] [td]b3[/td] [td]c3[/td] [td]d3[/td]
[/tr]

[tr]
[td]line 4:[/td] [td]a4[/td] [td]b4[/td] [td]c4[/td] [td]d4[/td]
[/tr]

[/table]

In general, to create a table in a post you will need to have "opening" tags and "closing" tags, nesting them within each other:

For the table:

Code:
[table]
[/table]

For each line (table row):

Code:
[tr]
[/tr]

For each cell in a line:

Code:
[td][/td]

Enter the values within the line and cell tags.

More detailed information about this in HTML documents (for your web page): http://www.w3schools.com/html/html_tables.asp

Hope this clarifies and helps,

Rattler
Logged



"Smile, tomorrow will be worse!"  Murphy
Pages: [1]   Go Up
  Print  
 
Jump to:  

Unique Hits: 21205962 | Sitemap
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!


Google visited last this page 25 June 2017, 09:18:11