jmkool
 member, 310 posts
 aka'd as The Kool
Mon 24 Jun 2013
at 05:42
Re: Easy Tables and Grids.
This works just fine!  This is probably the most anticipated feature I have yet seen.
Denalor
 member, 79 posts
Mon 2 Dec 2013
at 08:52
Re: Easy Tables and Grids.
What I'm currently searching for is how to “end” a table.
Sorry, that needs some explanation.
I do a lot of stuff with MS Excel and I want to convert the tables to make them fit here on RPoL.
So essentially it's a couple of VBA routines, which convert each row in Excel into a line for RPoL adding in all those | and what not which we now have. (I had previously done all this with the old table commands… which was quite a fuzz).
Anyway.
So I have data in Excel all listed in one row after the other.
The first 8 rows have 10 columns each.
But at rows 11-15 I only need 8 columns and so on.
But those 10 columns are set for the whole table.
So I somehow need to reset the number of columns. Naturally I could insert a row in Excel and thus prevent all the fuzz (well, it does create some major upheaval in my Excel routines, but I suppose I could manage), but it would be a lot easier if there were some “even though it’s written in the next row, do reset the number of columns” command.

This probably shows what I mean:

General Data
NameSpiritCAT24Sub. Drive Rating15Sensor Rating2Screen Rating4
Class Armor QualityDB +15MSA125Sensor Bonus10Screen Bonus20
Cost6.567.333Armor Belt15MTs13EW Rating2Rad. Shield Rating4
Mass900Hits1.035Trans. Drive Rating5EW Bonus10Rad. Shield Bonus20
Tactics0Microfreq.Mk. 2Reactor Rating95Control Points6Cargo416,6
Predict2Tight BeamMk. 0Duration50Crew6Streamlinedyes
Evade5TBDMk. 0Andrium95Computer Mk.60Landing Gearyes
Weapon Systems100% 
FMMk.TypeMountFire ArcHUDMagazineCrew  
210BlastFlexibleFront QTR Right15    
210BlastFlexibleFront QTR Left15    
110MissileFlexibleAft1520   
FMMk.TypeCATDBEWHitsMTs  
110Standard211010112  
110Standard211010112  
Tractor Beam1x Mk.05        
AuxiliariesLife SupportMicrofreq Rig Mk. 2       

Skald
 moderator, 481 posts
 Whatever it is,
 I'm against it
Mon 2 Dec 2013
at 13:53
Re: Easy Tables and Grids.
I think that might be too hard for Easy Tables ??  Best I can do is as follows, as when I try to span the headings across multiple columns, the table snaps back to the default grid evening things out:

|a|
|b|c|d|e|
|f|
|g|h|

a
bcde
f
gh

So I think you're going to have to use the pseudo-HTML table code - this seems to be what you're after ?

<table>
<tr><th colspan="4">Heading 1</th></th></tr>
<tr><td>Content Row 1 Column 1</td><td>Content Row 1 Column 2</td><td>Content Row 1 Column 3</td><td>Content Row 1 Column 4</td></tr>
<tr><th colspan="2">Heading 2</th></th></tr>
<tr><td>Content Row 2 Column 1</td><td>Content Row 2 Column 2</td></tr>
</table>

Heading 1
Content Row 1 Column 1Content Row 1 Column 2Content Row 1 Column 3Content Row 1 Column 4
Heading 2
Content Row 2 Column 1Content Row 2 Column 2

Denalor
 member, 80 posts
Mon 2 Dec 2013
at 14:12
Re: Easy Tables and Grids.
Ahhh, wasn't aware that the "regular" (non-easy) commands would do the trick.
Thanks
LonePaladin
 member, 395 posts
 Creator of HeroForge
Wed 4 Dec 2013
at 05:05
Re: Easy Tables and Grids.
I ran across something like this in trying to set up a table-based character sheet. The way I got around it was to just add a blank line wherever I needed to reset the column count.

For instance, this:
Code for Nerds:
| Character Name: |> X | Player: |> x |100%
| XP/Level: |> 10,000 / 1 | Campaign: |> x |

| Race: |> X ||= Stat |! Temp |! Pot. ||! Base |! Race |! Spec |!|! BONUS |100%
| Profession: |> X || Agility |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|2 Training Packages: || Constitution |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|>2 || Memory |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|>2 || Reasoning |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|>2 || Self-Discipline |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|2 || Empathy |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
| Soul Departure: |> 6 rounds || Intuition |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
| Recovery: |> ×1.0 || Presence |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|!2 Body Development Progress || Quickness |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|^2 0 0 0 0 0 || Strength |^ 20 |^ 0 ||^ +0 |^ |^ ||=^ +0 |
|!2 MP Development Progress ||
|^2 0 0 0 0 0 || Appearance |^ |^ 0 ||^ +0 |^ |^ ||=^ +0 |
Gives this:
Character Name:XPlayer:x
XP/Level:10,000 / 1Campaign:x

Race:X StatTempPot. BaseRaceSpec BONUS
Profession:X Agility200 +0   +0
Training Packages: Constitution200 +0   +0
  Memory200 +0   +0
  Reasoning200 +0   +0
  Self-Discipline200 +0   +0
  Empathy200 +0   +0
Soul Departure:6 rounds Intuition200 +0   +0
Recovery:×1.0 Presence200 +0   +0
Body Development Progress Quickness200 +0   +0
0 0 0 0 0 Strength200 +0   +0
MP Development Progress          
0 0 0 0 0 Appearance 0 +0   +0

(I had to get rid of all the extra spaces to get the post within the allowed character limit. The full table is a LOT bigger than this.)
steelsmiter
 member, 552 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Thu 5 Dec 2013
at 16:10
Re: Easy Tables and Grids.
came across a minor glitch
WeaponDamageReachParryCostWtSTLCNotes
Dwarven Great Axe1d+5 cut102250lbs12‡4[1]

on my character sheet it shows no number for the weight of the weapon unless I add a hash, but then it shows the hash:

WeaponDamageReachParryCostWtSTLCNotes
Dwarven Great Axe1d+5 cut102250#8 lbs12‡4[1]

Any way I can fix that?
Doccus
 member, 28 posts
 Happily GMing since 1979.
Thu 5 Dec 2013
at 17:36
Re: Easy Tables and Grids.
Put a space between the vertical bar and the 8.  Otherwise, it looks to the parser like it's a column span directive.
steelsmiter
 member, 553 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Thu 5 Dec 2013
at 18:37
Re: Easy Tables and Grids.
In reply to Doccus (msg # 144):

oh hey thanks. I didn't notice that.
matthewfenn
 member, 337 posts
 www.nj-pbem.com
 Northern Journey PBeM DM
Sat 7 Dec 2013
at 09:49
Re: Easy Tables and Grids.
I kept forgetting the rules for these easy tables... so I thought I'd check the help files to see if they had been summarised - and they have!   Thank you Jase!

Here is the link for those who are interested:

/help/?t=help&page=easytable
spaceace
 member, 198 posts
 Do or do not
 there is no try
Tue 11 Feb 2014
at 13:05
Re: Easy Tables and Grids.
is there a code to force a new line in table cell?


| two<hr>lines | single |
| single       | single |


two
lines
single
singlesingle

<hr> works, but I'd like to do away with the line between them

 doesn't do anything
Denalor
 member, 85 posts
Tue 11 Feb 2014
at 13:08
Re: Easy Tables and Grids.
\n should do the trick


| two \n lines | single |
| single       | single |


two
lines
single
singlesingle


Yes it does :-)
spaceace
 member, 199 posts
 Do or do not
 there is no try
Tue 11 Feb 2014
at 13:12
Re: Easy Tables and Grids.
thank you, that's exactly what I needed ;>
LonePaladin
 member, 404 posts
 Creator of HeroForge
Tue 11 Feb 2014
at 20:04
Re: Easy Tables and Grids.
Could someone edit the Easy Tables help page to include these extra tricks?
LonePaladin
 member, 406 posts
 Creator of HeroForge
Wed 19 Feb 2014
at 06:02
Re: Easy Tables and Grids.
Something else I'm looking for:

When making a table the old-fashioned (i.e., clunky) way, it's possible to indent a line of text simply by inserting a few spaces at the start. For instance,

<table>
   <tr><td>Row 1</td></tr>
   <tr><td>   Row 2</td></tr>
</table>


gives

Row 1
   Row 2


but if you try the same thing with an Easy Table,

|Row 1   |
|   Row 2|


gives

Row 1
Row 2

Is there a way to force those leading spaces to work? A table I made in the old way needs updating, and I'd rather make it as an Easy Table than have to deal with all those tags again.
LoreGuard
 member, 500 posts
Wed 19 Feb 2014
at 08:13
Re: Easy Tables and Grids.
You could potentially use the following, which appears to work.

  AB
   CD
    EF


  AB
   CD
    EF


| &nbsp; A | B |
| &nbsp;&nbsp; C | D |
| &nbsp;&nbsp;&nbsp; E | F |


| &nbsp; A | B |
| &nbsp;  C | D |
| &nbsp;   E | F |
archus
 member, 28 posts
Wed 5 Mar 2014
at 18:24
Re: Easy Tables and Grids.
How can you make a table blend in with a proportional font character sheet?  The tables really stand out as larger text.  I tried wrapping them with pre but no luck.
steelsmiter
 member, 740 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Wed 5 Mar 2014
at 18:26
Re: Easy Tables and Grids.
archus:
How can you make a table blend in with a proportional font character sheet?

I'm not sure what you mean by that but I think you want /tt

EDIT: no I don't think that works, I previewed mine and it spit the code back out.

This message was last edited by the user at 18:28, Wed 05 Mar 2014.

archus
 member, 29 posts
Wed 5 Mar 2014
at 18:43
Re: Easy Tables and Grids.
In reply to steelsmiter (msg # 154):

It looks like this (the table text is larger and bolder than the rest, different font clearly)
http://arcanearcade.com/Downloads/RPOL/Zach/table.png

The character sheet is just raw text with a few bolds and the table.

Occupation: Student
Citizenship: American
Place of Birth: Detroit

PL 8         HP: 1

<u><b>Abilities:</b></u>
| 2 | Str |
| 4 | Sta |
| 2 | Agl |
| 2 | Dex |
| 2 | Fgt |
| 2 | Int |
| 2 | Awe |
| 2 | Pre |

This message was last edited by the user at 18:49, Wed 05 Mar 2014.

Skald
 moderator, 510 posts
 Whatever it is,
 I'm against it
Thu 6 Mar 2014
at 05:06
Re: Easy Tables and Grids.
Easy tables shouldn't change the default font size ...

... tested and can confirm it looks fine to me - same proportional font in and out of the table.

Could you have any browser setting that's substituting table fonts ?  Can you try to view the output using a different browser and see if your mileage varies ? :>
archus
 member, 30 posts
Thu 6 Mar 2014
at 20:41
Re: Easy Tables and Grids.
In reply to Skald (msg # 156):

I've tried it on Chrome, Firefox, and Safari (in osx) and they all have the table text looking different than the rest (it is a more subtle difference in Firefox).  This is in a character sheet that I believe the GMs have marked as preformatted text.  I've looked at the source for the produced page and there is indeed a < pre > at the beginning of the character.

I suspect that one of these two styles message_table or smart_table has set the font to something and that overrides the preformatted text the table is nested in.  So likely there is nothing I can do unless I wrap all the text in < pre > tags, which would make using the simple tables fairly pointless.

I wonder if I could get the GMs to remove the preformatted flag from character sheets...
steelsmiter
 member, 750 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Thu 6 Mar 2014
at 20:52
Re: Easy Tables and Grids.
In reply to archus (msg # 157):

I've noticed that the tables look different on my Tablet when I use Mozilla vs. when I use Chrome. I don't usually use chrome because the italics thing doesn't seem to want to display properly... maybe because it was embedded within other tags? So yeah, I just thought it might be worthy of mention that it looks normal in Chrome and bigger in Mozilla for me.
Skald
 moderator, 511 posts
 Whatever it is,
 I'm against it
Fri 7 Mar 2014
at 14:19
Re: Easy Tables and Grids.
Archus ... I suspect you're right about the <pre> ... can you flick the mods an rmail with the name of the game and I'll have a look at the sheet directly and try to duplicate the problem. :>
steelsmiter
 member, 757 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Sun 9 Mar 2014
at 03:16
Re: Easy Tables and Grids.
I want HT Aff to appear on a second line, and it's not working. What am I doing wrong?

WeaponDamageAccRangeWtRoFShotsSTBulkRclCostLCNotes
Stun Gunburn, 1 point /n HT Aff350/10033124-5150004[2][3]

LonePaladin
 member, 418 posts
 Creator of HeroForge
Sun 9 Mar 2014
at 04:45
Re: Easy Tables and Grids.
steelsmiter:
I want HT Aff to appear on a second line, and it's not working. What am I doing wrong?

Use \n.

WeaponDamageAccRangeWtRoFShotsSTBulkRclCostLCNotes
Stun Gunburn, 1 point
HT Aff
350/10033124-5150004[2][3]

steelsmiter
 member, 758 posts
 GURPS, FFd6, Pathfinder
 NO FREEFORM!
Sun 9 Mar 2014
at 05:43
Re: Easy Tables and Grids.
LonePaladin:
Use \n.

some reason I got my slash the wrong direction. Thanks.

So what about making all my stuff go to the top line instead of being vertically centered?

This message was last edited by the user at 05:47, Sun 09 Mar 2014.