RolePlay onLine RPoL Logo

, welcome to Community Chat

21:23, 19th April 2024 (GMT+0)

easy code for beginers.

Posted by ne68127
ne68127
member, 182 posts
montana
U of M
Wed 21 Oct 2015
at 14:44
  • msg #1

easy code for beginers

the " | " symbol used in a grid will allow you to make a table.

|1|2|
|3|4|


typing this will create this

12
34




typing "< HR >" with out the spaces will allow you to make a line across the entire page




putting a ! at the beginning of a cell colors the cell grey and bold the text

|!1| 2|
| 3|!4|


12
34

putting 2 ! on the left side of a cell will grey every cell that follows in the line

|!!1| 2|5|
| 3|!!4|6|


125
346




if you put a number on the left side of a cell, and follow that number with a space it will define the size of a cell


| 1| 2| 3| 4| 5| 6| 7|
|3 three cells across|4 four cells across|


1234567
three cells acrossfour cells across




< will move your text on the left side of a cell
> will mive your text on the right side of a cell
^ will center your text in the center your text


|>              right|<              left|^           centered|


rightleftcentered
right sideleft sidecenter in the middle



This message was last edited by the user at 15:39, Wed 21 Oct 2015.
WinterRat1
member, 122 posts
Fri 23 Oct 2015
at 00:32
  • msg #2

easy code for beginers

This is very helpful, thanks a lot for sharing!
Wiglaf
member, 774 posts
Fri 23 Oct 2015
at 04:08
  • msg #3

easy code for beginers

Ahh, thank you.  I just put this to the test, coupled with what I've read in the FAQs, and will be using it in my current games.  :)
tulgurth
member, 178 posts
35 years of gaming
Still going strong
Fri 23 Oct 2015
at 04:26
  • msg #4

easy code for beginers

In reply to Wiglaf (msg # 3):

The easy tables method is very easy and also very versatile.  I use it for a character sheet in my game.  For those who do not like the tightness of the tables they create, you can spread them out by using a percentage at the end of the first line, outside the '|' to stretch the table further across the screen.

For instance,

'|6! BASIC INFORMATION|100%'
'|!<Player Name|16%<|16%!<Height|16%< |16%!<XP|16%< |'

This is the top 2 lines of my character sheet.

The 6! tells the table to run a header across the sheet that will cover 6 cells with all 6 cells covering 100% of the display page.

In the second line you see the cells defined with a 16% number being used.  It will use 16% of the width of the display screen for each cell.

This gives the following:

BASIC INFORMATION
Player Name Height XP 

You can see the first header stretches the 6 cells on the second line, but you also the cells are open, or not lined on all 4 sizes.  This really bugged me and it took awhile but I figured out it was the '!' in the second line of the tables doing this.  The '!' denotes a single header for that cell only.  You can get the same affect by removing the '!' and just bolding everything in the header cells.  As such,

'|6
BASIC INFORMATION
|100%
|<Player Name|16%<|16%<Height|16%< |16%<XP|16%< |'

Becomes the following:

BASIC INFORMATION
Player Name Height XP 

This makes it easier to distinguish the areas of the different cells.  But I do warn, editing a character sheet in this format can get really confusing if you character sheet uses a lot of columns.

The one thing I can recommend is patience and lots of re-edits.  LOL  Hope it helps

Edit: Great idea ne
2nd Edit:  Showed the coding for the second block of headers as it was missing so the readers could see the differences between the coding.
This message was last edited by the user at 02:51, Thu 29 Oct 2015.
Azraile
member, 547 posts
AIM: Azraile - Dislexic
Dont take my text as mean
Mon 26 Oct 2015
at 01:10
  • msg #5

easy code for beginers

Whats the

|=

Do exsactly?

Or

||
This message was last edited by the user at 01:10, Mon 26 Oct 2015.
GamerHandle
member, 832 posts
Umm.. yep.
So, there's this door...
Mon 26 Oct 2015
at 01:54
  • msg #6

easy code for beginers

texttext

| text | text |
|-

The |- makes the first row highlighted.

!! = highlight all rows from here over.
DecoderZoey
member, 287 posts
Choose Your Fate
This War Is Ours
Mon 26 Oct 2015
at 22:44
  • msg #7

easy code for beginers

This was very helpful for me! I was creating a data book like chart on Word Excel, but this made it easier so I didn't have to run Excel. Totally love it and now I'm pretty great at it. Thanks a lot!
warjoski
member, 99 posts
Wed 28 Oct 2015
at 03:50
  • msg #8

easy code for beginers

In reply to ne68127 (msg # 1):

Thank you thank you thank you thank you. May your games always be posting and your players  fat and numerous.
warjoski
member, 100 posts
Wed 28 Oct 2015
at 03:51
  • msg #9

easy code for beginers

In reply to tulgurth (msg # 4):

And to you as well. This is like Christmas.
ne68127
member, 199 posts
montana
U of M
Fri 15 Jan 2016
at 16:32
  • msg #10

easy code for beginers

quote:
I think I saw someone in another game right-justify a picture, and it would cram all of your text NEXT TO that picture, instead of below it.  That would be really cool.



Try < img src=http://yoururl align=right /> Only don't have the space between < and img
Genghis the Hutt
member, 2376 posts
Just an average guy :)
Fri 15 Jan 2016
at 17:14
  • msg #11

easy code for beginers

<img src="http://www.somesite.com/the-image.jpg" align="right">

But it won't work in this forum, pictures haven't been turned on in Community Chat.
bigbadron
moderator, 14980 posts
He's big, he's bad,
but mostly he's Ron.
Fri 15 Jan 2016
at 17:45

easy code for beginers

In reply to Genghis the Hutt (msg # 11):

Pictures don't work in ANY of the site's public forums (quite deliberately).
jess_car_fix
member, 156 posts
license code (8817white)
Tue 18 Apr 2023
at 21:17
  • msg #13

Re: easy code for beginers

tulgurth:
...

'|6
BASIC INFORMATION
|100%
|<Player Name|16%<|16%<Height|16%< |16%<XP|16%< |'

Becomes the following:

BASIC INFORMATION
Player Name Height XP 

...


I realize I may be creating something too big to do what I want to do. I am not going to post my code and clutter up this thread. but here is the step by step.

I took the above logic with the (%)
and created a 75x75 grid map (with borders and row/column labels) it is 78 cells across.

the first cell is 78 wide and is (suppose to) take up less then the full width (set at 78%)
the 78 cells below it all begin with " |1% "  but still it takes up nearly three pages wide (scrolling distance)

I am running a high level game (lvl 15) so significant distance is needed (as per player request)

the players are not actively moving themselves (editing the map) they are just defining their location on the map.

I have attempted to use the map section of the game and the random map generator (thank you d20srd for being awesome) ... creates maps that are (according to the players) too complex and does not label rows and columns.

can anyone provide advice on creating a map that is still quite large (from the perspective of the characters) but is small enough to make it easier for players to look at the map that is visually smaller (to the players)
soulsight
member, 350 posts
Reality is 10% perception
and 90% interpretation.
Wed 19 Apr 2023
at 00:11
  • msg #14

Re: easy code for beginers

ne68127:
quote:
I think I saw someone in another game right-justify a picture, and it would cram all of your text NEXT TO that picture, instead of below it.  That would be really cool.



Try < img src=http://yoururl align=right /> Only don't have the space between < and img


<img src="https://blog.yellowoctopus.com.au/wp-content/uploads/2018/03/yellow-octopus-funny-memes-40.jpg">Not sure how
the easy tables
would do it,
but this always
worked for me.


<table><tr><td><img src="https://blog.yellowoctopus.com.au/wp-content/uploads/2018/03/yellow-octopus-funny-memes-40.jpg"></td><td>Not sure how
the easy tables
would do it,
but this always
worked for me.</td></tr></table>
Sign In