RolePlay onLine RPoL Logo

, welcome to RPoL Development

13:18, 28th March 2024 (GMT+0)

Easy Tables and Grids.

Posted by jase
rogar308
member, 342 posts
Gaming is good!
Got RPOL in my soul
Fri 10 May 2013
at 13:19
  • msg #99

Re: Easy Tables and Grids.

Wow, table art! Kewl. That's a mighty nice lookin' battery you got there. Maybe set up another thread for table art competition?
jase
admin, 3094 posts
Cogito, ergo procuro.
Carpe stultus!
Fri 10 May 2013
at 15:55
  • msg #100

Re: Easy Tables and Grids.

Fixed the incorrect tallying of columns, shouldn't get extra cells on the end of rows now.

Code doesn't stop the easy tables or grids.
matthewfenn
member, 316 posts
www.nj-pbem.com
Northern Journey PBeM DM
Fri 10 May 2013
at 16:04
  • msg #101

Re: Easy Tables and Grids.

Perfect!
Utsukushi
member, 1218 posts
I should really stay out
of this, I know...but...
Fri 10 May 2013
at 16:29
  • msg #102

Re: Easy Tables and Grids.

matthewfenn:
Incidentally Jase, the [Code][/Code] tags don't seem to work when put around the table code here...

But the |'s have to be the beginning of the line, don't they?  So you can still show people cool new tricks with some random text first; like,

1 |A1|B1|
2 |A2|B2|
3 |A3|B3|
 Creates,
A1B1
A2B2
A3B3

(Though since RuBB collapses empty spaces, you can't just put a space in front of the |s.)
Zag24
member, 585 posts
Fri 10 May 2013
at 17:45
  • msg #103

Re: Easy Tables and Grids.

Checking on special types
 BoldItalicUnder-lineStrike-throughsupsubsmalllarge
Bold text text text text text text text text
Italic text text text text text text text text
Under-linetext text text text text text text text
Strike-throughtext text text text text text text text
sup text text text text text text text text
sub text text text text text text text text
small text text text text text text text text
large text text text text text text text text

Cool!!



BTW, I originally had this, and it took me a while to figure out why it did not make the line with my headings into a header line.  I guess the line with all dashes has to be the second one for that to work.

|=9 Checking on special types |
| Bold | Italic | Under-line | Strike-through | sup | sub | small | large |
|-----------------------|




What if I try to put some really awkward stuff in a table?
quote:
This is a quote.

Spoiler text: (Highlight or hover over the text to view)
This is spoilered.
Impressive!
As always, jase, You da man!

This message was last edited by the user at 17:48, Fri 10 May 2013.
jmkool
member, 263 posts
aka'd as The Kool
Sat 11 May 2013
at 02:58
  • msg #104

Re: Easy Tables and Grids.

The code tags also work properly within a table, as does coloring and font.  If you have too many or too few cells in a row, the cells will stick out/in.  Yeah, I tested this stuff too, as well as the grids.  I found that the code can be shorthanded quite nicely, as

* +--+
* |=X|O|X|
* |X|=X|O|
* |O|O|=X|
* +--+

is all you need to show

XOX
XXO
OOX

Zag24
member, 586 posts
Sat 11 May 2013
at 13:03
  • msg #105

Re: Easy Tables and Grids.

Hi jase,

One quick suggestion:

As I mentioned above, you already have this:
| Bold | Italic | Under-line | Strike-through | sup | sub | small | large |
|-----------------------|

As a shortcut for this, but only if they are the first two lines:
|= Bold |= Italic |= Under-line |= Strike-through |= sup |= sub |= small |= large |

How about also this for the same thing?  (That is, it's a shortcut for the above, but it works anywhere.)
|== Bold | Italic | Under-line | Strike-through | sup | sub | small | large |

Also, I have meant to comment for a while, but it's even more evident here -- I totally love the way preview works, now.  It is incredibly helpful when you are mucking about with something like this.

Finally, for Jhael:  Get ready!  Once these new tables go live, expect a bunch of new character sheet templates using them.  I'm very much looking forward to character sheets that aren't lame, fixed-text-tabular, 1980's-looking pages.
This message was last edited by the user at 13:08, Sat 11 May 2013.
jase
admin, 3095 posts
Cogito, ergo procuro.
Carpe stultus!
Sun 12 May 2013
at 03:37
  • msg #106

Re: Easy Tables and Grids.

Zag24:
I guess the line with all dashes has to be the second one for that to work.

Yep.  Table's generally only have one header (<thead>) row.

"==" is in, but actually means "rest of the row", not "the entire row".

"#" should also now give you the cell shading, but without the bold.  It is still, however, a "th" element, so it'll be centre aligned whereas normal "td" elements are left aligned.  Not sure about it being the hash symbol though, that might be used a bit in cells as text?  If someone uses "|#2" in a cell (without spacing) then it'll pick up the #.

"|# 1 | 2 |== 3 | 4" (plus another line with a single pipe) comes out as:

# 1234

Skald
moderator, 420 posts
Whatever it is,
I'm against it
Sun 12 May 2013
at 06:13
  • msg #107

Re: Easy Tables and Grids.

"lame", Zag24 ?  AH, you mean you prefer style over substance ... got it ! <evil grin>

Nah, seriously, as a GM I find fixed text character sheets far easier to update and manage, and they have the advantage that they look the same here in RPoL as they do in the .txt file I store offline. Additionally, since I have such familiarity with the format and there's been little variation between various editions or systems with the fixed text character sheets, when I'm looking at my own characters' sheets as a player myself I can find things quickly and easily, without having to change mental gears to adapt.  After all, I game for the role-playing, not to crunch numbers.  But if others prefer to work with sheets that have much fancier formatting, then good luck to them. :>

My interest in easy grids is not for use in character sheets, but so I can produce very quick maps on the fly - shading cells to represent solid earth/stone/walls etc ie revealing the outlines of rooms and corridors.

Thanks for the # tag, jase (AND wholeheartedly echoing Zag24's lavish praise of preview so I could test it all out before I posted) ... but it doesn't seem to be working for me.  :<

From your notes, I thought it might be because I didn't put it on the first (header) line, in which case I was going to ask could it be extended to the whole table, not just the header, but when I tried the header, that didn't happen either.

# 123
4# 56
789

Keyed as:

+---+---+---+
|# 1 | 2 | 3 |
+---+---+---+
| 4 |# 5 | 6 |
+---+---+---+
| 7 | 8 | 9 |
+---+---+---+


Soo ... what arcane gesture did I miss ? ;>

Not hung up on the #, so please feel free to substitute anything you like - I picked # cos it looked like quick hand drawn shading ... and to be honest, there weren't many other free keys left !
matthewfenn
member, 317 posts
www.nj-pbem.com
Northern Journey PBeM DM
Sun 12 May 2013
at 08:50
  • msg #108

Re: Easy Tables and Grids.

i guess he has only coded it for the tables, not the grids...

works in this table
1# 234

jase
admin, 3097 posts
Cogito, ergo procuro.
Carpe stultus!
Sun 12 May 2013
at 13:46
  • msg #109

Re: Easy Tables and Grids.

Yes, thought you were talking about tables.
Skald
moderator, 421 posts
Whatever it is,
I'm against it
Sun 12 May 2013
at 13:49
  • msg #110

Re: Easy Tables and Grids.

Sorry ... yes, I was after the shading functionality for grids.  Pretty please ? :>
jase
admin, 3098 posts
Cogito, ergo procuro.
Carpe stultus!
Sun 12 May 2013
at 14:09
  • msg #111

Re: Easy Tables and Grids.

In reply to Skald (msg # 110):

Have you looked up at your previous post?  (c;
Skald
moderator, 422 posts
Whatever it is,
I'm against it
Sun 12 May 2013
at 14:56
  • msg #112

Re: Easy Tables and Grids.

Aha !  Thank ye kindly. :>

Gives us quick maps:

          
          
          
          
          
          
          
          
          
          

And instant crossword (or similar word puzzles):

1 2 3 4 5 6 7
      8      
9            
    10    11 12 
13       14    
     15       
1617 1819   20 21 22
   23  24      
25 26     27    
28            
        29    
30            
      31      

Youre a cheenius, mathter.  You've created a monthter ! ;>
matthewfenn
member, 318 posts
www.nj-pbem.com
Northern Journey PBeM DM
Sun 12 May 2013
at 16:34
  • msg #113

Re: Easy Tables and Grids.

Deffo a thumbs up from me :-)

             
             
             
             
             
             
             
             
             
             
             
             
             
             
             

Greybeard
member, 9 posts
Tue 14 May 2013
at 01:58
  • msg #114

Re: Easy Tables and Grids.

I'm really excited about the prospect of being able to create maps using the shaded grids.

Let's put this into production and start using it! :)
jmkool
member, 264 posts
aka'd as The Kool
Tue 14 May 2013
at 03:39
  • msg #115

Re: Easy Tables and Grids.

I approve!  This function is looking more and more beautiful by the day!
Lunarius
member, 257 posts
eadem mutata resurgo
pax ex tyranny
Tue 14 May 2013
at 03:49
  • msg #116

Re: Easy Tables and Grids.

In reply to Greybeard (msg # 114):

So am I.  That is beyond exciting.
jase
admin, 3103 posts
Cogito, ergo procuro.
Carpe stultus!
Tue 14 May 2013
at 06:18
  • msg #117

Re: Easy Tables and Grids.

Still a little worried about the use of "#", but if those who'll be using it don't think so, then that makes life easier for me!
matthewfenn
member, 320 posts
www.nj-pbem.com
Northern Journey PBeM DM
Tue 14 May 2013
at 08:11
  • msg #118

Re: Easy Tables and Grids.

What is your concern Jase?
PushBarToOpen
member, 786 posts
Tue 14 May 2013
at 09:23
  • msg #119

Re: Easy Tables and Grids.

Can you copypaste these new smart tables from other posts at all?as that is pretty much needed.

Since i can't seem to i will say thats a no.

So can we have a feature to be able to copy/paste others tables easily.
matthewfenn
member, 321 posts
www.nj-pbem.com
Northern Journey PBeM DM
Tue 14 May 2013
at 11:31
  • msg #120

Re: Easy Tables and Grids.

I don't think it's ever been possible to copy other people's tables - but simple enough to quote them and then edit the mail that's generated...

Personally, I'm looking forward to seeing the functionality pushed out to the rest of the site - I'm going to update my MTG spreadsheet to use the smart tables instead :-)
jase
admin, 3104 posts
Cogito, ergo procuro.
Carpe stultus!
Tue 14 May 2013
at 12:42
  • msg #121

Re: Easy Tables and Grids.

In reply to matthewfenn (msg # 118):

me:
Not sure about it being the hash symbol though, that might be used a bit in cells as text?  If someone uses "|#2" in a cell (without spacing) then it'll pick up the #.

Not sure how much problem it'll cause, but best to think of these things before we set it in stone.
Skald
moderator, 423 posts
Whatever it is,
I'm against it
Tue 14 May 2013
at 13:34
  • msg #122

Re: Easy Tables and Grids.

Yup, far better to sort problems out beforehand, quite agree. :>

There weren't many other symbols left that are easily accessible from the keyboard (I think the ~ is the only one that didn't seem to me to be in ordinary use) and # seemed more appropriate to indicate shading ... how about rather than single # use ## for shading ?

Or perhaps use single quote as override for any control character ?  eg '< gets you a < not left cell alignment (more code to process and remove the ' though, I'm afraid).
PushBarToOpen
member, 788 posts
Tue 14 May 2013
at 14:24
  • msg #123

Re: Easy Tables and Grids.

other than the way that they are coded then what is trhe differance between

# xOO
 # xO
O # x
# x| O| O |# x| O O| |# x And
xOO
 xO
O x
= x| O| O |= x| O O| |= x
The only defferance i can see is bolding the characters which can be done with the Bold tags so why not remove the # and just use = without making it bold?
Sign In