+- +-

+-Newcomers Start Here

+-Harlequins/Rugby Links


+-Articles


Author Topic: Testing Tables  (Read 871 times)

0 Members and 2 Guests are viewing this topic.

Admin

  • Administrator
  • A Team Starter
  • *
  • Posts: 413
Testing Tables
« on: Friday 29-Jun-2018, 12:48* »


head1      head2       head3       
col1      col2       col3       
col1      col2       col3       
« Last Edit: Friday 29-Jun-2018, 13:07* by Admin »

poorfour

  • Lions Captain
  • ******
  • Posts: 3603
Re: Testing Tables
« Reply #1 on: Friday 29-Jun-2018, 13:01* »
Doesn't look like it's working.
From what I can see the "Insert table" button puts in a very basic table layout and then leaves you to edit it yourself. The tags seem to be standard HTML but with [] rather than <> - see https://www.w3schools.com/html/html_tables.asp for examples.

Can't work out how to make it work. May be one for Mrs Poorfour.

poorfour

  • Lions Captain
  • ******
  • Posts: 3603
Re: Testing Tables
« Reply #2 on: Friday 29-Jun-2018, 13:01* »
Spoke too soon. Looks like you might have **** it. How did you do it?

Admin

  • Administrator
  • A Team Starter
  • *
  • Posts: 413
Re: Testing Tables
« Reply #3 on: Friday 29-Jun-2018, 13:13* »
If you don't see the code below in courier font, press CTRL-F5 or clear your cache!

Code: [Select]
[img]https://emoji.tapatalk-cdn.com/emoji1.png[/img]

[table]
[tr]
[td]head1      [/td] [td]head2       [/td] [td]head3       [/td]
[/tr]
[tr]
[td]col1      [/td] [td]col2       [/td] [td]col3       [/td]
[/tr]
[tr]
[td]col1      [/td] [td]col2       [/td] [td]col3       [/td]
[/tr]
[/table]


Where
"table" starts a table, "/table" ends it
"tr" starts a table row, "/tr" ends it
"td" starts a table cell, "/td" ends it

the emoji at the top let's me know if I've pressed the "HTML" button!

Take a copy of your code before you save it. If you get it wrong then the system tries to insert its own HTML tags and the whole thing is tangled.

Given the above code uses the [ code ]   [ /code ] pairing, you might be better off just pasting in plain text in courier font between that pair of HTML commands (removing the spaces, of course). So I did that below using tabs to space them, of course you can't use any other codes now like bold or centre or anything.

Code: [Select]
head1 head2 head3       
col1 col2 col3       
col1 col2 col3     
« Last Edit: Friday 29-Jun-2018, 13:46* by Admin »

deadlyfrom5yardsout

  • Lions Captain
  • ******
  • Posts: 3838
Re: Testing Tables
« Reply #4 on: Friday 29-Jun-2018, 14:09* »
What'd he say?

Admin

  • Administrator
  • A Team Starter
  • *
  • Posts: 413
Re: Testing Tables
« Reply #5 on: Friday 29-Jun-2018, 14:25* »
This came from an HTML editor, changed the < to ], and it was more or less OK

Head1head2head3
col1col2col3
col1col2col3


Admin

  • Administrator
  • A Team Starter
  • *
  • Posts: 413
Re: Testing Tables
« Reply #6 on: Friday 29-Jun-2018, 14:31* »
OK - this is how you do it.

go to https://www.teamopolis.com/tools/bbcode-table-generator.aspx

Follow the steps. Do not click that the first row is a header row (even if it is)
Paste the resulting code

Head1Head2Head3
col1col2col3
column1column2column3

Code: [Select]
[table]
[tr]
[td]Head1[/td]
[td]Head2[/td]
[td]Head3[/td]
[/tr]
[tr]
[td]col1[/td]
[td]col2[/td]
[td]col3[/td]
[/tr]
[tr]
[td]column1[/td]
[td]column2[/td]
[td]column3[/td]
[/tr]
[/table]
[code]
« Last Edit: Friday 29-Jun-2018, 14:35* by Admin »

stoquin

  • A Team Bench
  • *
  • Posts: 394
Re: Testing Tables
« Reply #7 on: Monday 02-Jul-2018, 18:07* »
9 x 7

Gone

  • Lions Captain
  • ******
  • Posts: 1708
Re: Testing Tables
« Reply #8 on: Monday 02-Jul-2018, 19:47* »
Is this for real? Surely there’s better functionality that doesn’t require an IT degree. Don’t understand the photo thing at all - it won’t let me attach anything.

DOK

  • Lions Captain
  • ******
  • Posts: 3725
Re: Testing Tables
« Reply #9 on: Tuesday 03-Jul-2018, 11:17* »
Tables are the only major problem I can see. They weren't (theoretically) available at all on the previous board. If you have a simple table to post I suggest you use the "code" button, the one with a "#" sign.
Simply start your table
Code: [Select]
[code]
head1     head2    head3
col1      col2     col3
[ /code] (without the space)

AdrianB

  • Lions Captain
  • ******
  • Posts: 1601
Re: Testing Tables
« Reply #10 on: Tuesday 03-Jul-2018, 11:44* »
I did it using excel by using the insert table option & using tr & td for table row & table data in columns between the data values, Name, DOB Position etc
Code: [Select]
[table]
[tr]
[td][/td]
[/tr]
[/table]
so my worksheet looks like
Code: [Select]
[tr][td] Name [/td][td] DoB [/td][td] Position[/td][td] Contract [/td][td]
[tr][td] Nick Auterac [/td][td] 12/11/1991 [/td][td] LH Prop [/td][td] 2019/20 ? [/td][td]
[tr][td] Lewis Boyce [/td][td] 30/6/1996 [/td][td] LH Prop [/td][td] 2018/19 +? [/td][td]
[tr][td] George Head [/td][td] 4/8/1999 [/td][td] LH Prop [/td][td] Academy [/td][td]
[tr][td] Mark Lambert [/td][td] 19/2/1985 [/td][td] LH Prop [/td][td] 2017/18 +? [/td][td]

AdrianB

  • Lions Captain
  • ******
  • Posts: 1601
Re: Testing Tables
« Reply #11 on: Tuesday 03-Jul-2018, 12:39* »
better example of my table attached, [ Guests cannot view attachments ]

[ Guests cannot view attachments ]

 

+-User

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

+-Site Statistics

Members
Total Members: 1162
Latest: Marsi1e
New This Month: 2
New This Week: 1
New Today: 0
Stats
Total Posts: 119432
Total Topics: 6383
Most Online Today: 324
Most Online Ever: 4089
(Sunday 10-Oct-2021, 12:56*)
Users Online
Members: 24
Guests: 241
Total: 265