Online-Roleplaying.community

Go Back   Online-Roleplaying.community > Public Commonness > Proclamations

Reply
Thread Tools
  #26  
Unread 12th of July, 2012, 21:19
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
My insanity pays off yet again!
Reply With Quote
  #27  
Unread 26th of July, 2012, 23:22
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
UPDATE:

Because deep down I am a very kind hearted soul, I made a couple of improvements to the GRID syntax. The main format tag now supports the following additional parameters:

rowheight=nn
colwidth=nn
align=left|right|center|justify top|bottom|middle|baseline

These become the default settings for all columns, although you can still override them at the column level:

[grid=My First Grid]
[fmt border=cell zebra=row colwidth=100 align=center]75 left;;;;;;;;[/fmt]
[row=header];;A;;B;;C;;D[/row]
[row][b]1[/b];;A1;;B1;;C1;;D1[/row]
[row][b]2[/b];;A2;;B2;;C2;;D2[/row]
[row][b]3[/b];;A3;;B3;;C3;;D3[/row]
[row][b]4[/b];;A4;;B4;;C4;;D4[/row]
[row][b]5[/b];;A5;;B5;;C5;;D5[/row]
[/grid]


My First Grid
A B C D
1 A1 B1 C1 D1
2 A2 B2 C2 D2
3 A3 B3 C3 D3
4 A4 B4 C4 D4
5 A5 B5 C5 D5
Reply With Quote
  #28  
Unread 27th of July, 2012, 07:51
-J-'s Avatar
-J-
Dread Lord on High [Epic GM]

User is offline
 
Join Date: Nov 2004
Member: #1006
Location: Nor'east
Posts: 2,996 (0.63 per day)
I had a question - lets say i set up a grid like the one above, but then below the grid (yet within the border) i wanted to have a block of text in a single cell that stretched from end to end - how can i do that?
Reply With Quote
  #29  
Unread 27th of July, 2012, 07:52
-J-'s Avatar
-J-
Dread Lord on High [Epic GM]

User is offline
 
Join Date: Nov 2004
Member: #1006
Location: Nor'east
Posts: 2,996 (0.63 per day)
I guess what the question boils down to is can you change the parameters of matrix after you do your initial formatting. So if i set up a matrix 10x10 with colwidth=50, can I on row 11 change it so there's only one column, with a width of 500.
Reply With Quote
  #30  
Unread 27th of July, 2012, 08:00
itches's Avatar
itches
Vampire Lord [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #10
Location: Castle Greyskull
Posts: 13,740 (2.38 per day)
Have to ask Gral, but I don't think so.

My First Grid
A B C D
1 A1 B1 C1 D1
2 A2 B2 C2 D2
3 A3 B3 C3 D3
4 A4 B4 C4 D4
5 A5 B5 C5 D5
A gaggle of teachers appeared down the path, crossing over it on an intersecting track and the girl cut herself off mid-word, eyes going unfocused for a moment until they were gone. I was about to ask if she was alright when she looked back at me with what I'd almost swear was suspicion.


RainbowGirl: Still here? Fine may as well help you, where were you going?


I fished out the Student Diary containing my class schedule and showed it to her. She took the book from me, barely glanced at the timetable before flipping through the pages with her multicoloured fingers.


Rainbow Girl/Elicia: My name is Elicia by the way, you're in Ackerson's maths class next, same as me. Meanwhile there is a map of the grounds in here. Until you learn your way stick with the bigger paths and if you get lost just wonder about until find a land mark.


I felt more than a little foolish as she held up the page to show me, in hindsight there must have been one in there and I could have spared a few minutes to scan the thing.

Ami: And here I was about to light a fire to attract some attention.
Elicia: It wouldn't work, it's been tried. Few years back one of the 7th graders was sneaking out of his dorm at night and apparently set a building on fire. People noticed the smoke alright and the fire-department was called, but when they went into the maze of buildings to find it they disappeared. No one ever saw them or the kid again


She said all this with such a serious, deadpan look on her face while handing me the diary back that I was almost tempted to believe her. Well to at-least to believe that she believed it.

Ami: Really? What happened to the building that was set on fire?
Elicia: No one knows, but when you walk around here sometimes you'll smell smoke that isn't coming from anywhere. They say that it's the ghost of that kid still trying to burn down the building.


My eyes flicked to the cigarette she was holding as she said this, but held back from making the obvious comment.


Ami: Damned ghosts, always getting smoke everywhere.
Elicia: Right. Just follow me. If you can.


She flicked the still lit remains of the cigarette butt into a flowerbed, gave me a look I couldn't read, and started walking down the path. I followed that swaying skirt along a twisted rout I couldn't retrace if I even wanted to until we finally got to class and she slumped down at a desk by herself in the back, pulling out a phone to play with without even trying to hide the fact or being called on it.

The hair, the clothes, the phone? I don't know how she gets away with it, but she is one super weird girl. And that's coming from me, Amicula the Dark Mistress of Nightmares.
__________________
@}-`-- Coffee + Hate = itches
Reply With Quote
  #31  
Unread 27th of July, 2012, 16:25
-J-'s Avatar
-J-
Dread Lord on High [Epic GM]

User is offline
 
Join Date: Nov 2004
Member: #1006
Location: Nor'east
Posts: 2,996 (0.63 per day)
That's exactly what I want - what did you do to get the text like that?
Reply With Quote
  #32  
Unread 27th of July, 2012, 17:22
itches's Avatar
itches
Vampire Lord [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #10
Location: Castle Greyskull
Posts: 13,740 (2.38 per day)
You could just quote my post and take a look. It's two seperate grids hard against each other surrounded by a Fieldset tag. Gral does something similar in the last page.


[fieldset=My First Grid][grid]
[fmt border=cell zebra=row colwidth=100 align=center]75 left;;;;;;;;[/fmt]
[row=header];;A;;B;;C;;D[/row]
[row][b]1[/b];;A1;;B1;;C1;;D1[/row]
[row][b]2[/b];;A2;;B2;;C2;;D2[/row]
[row][b]3[/b];;A3;;B3;;C3;;D3[/row]
[row][b]4[/b];;A4;;B4;;C4;;D4[/row]
[row][b]5[/b];;A5;;B5;;C5;;D5[/row][/grid][grid][fmt width=491 border=cell zebra=row colwidth=100 align=center]75 left;;;;;;;;[/fmt]
[row]Lots of text goes here[/row]
[/grid][/fieldset]


My First Grid
A B C D
1 A1 B1 C1 D1
2 A2 B2 C2 D2
3 A3 B3 C3 D3
4 A4 B4 C4 D4
5 A5 B5 C5 D5
Lots of text goes here


I'm pretty sure most of the stuff in the second fmt tag isn't needed.
__________________
@}-`-- Coffee + Hate = itches
Reply With Quote
  #33  
Unread 27th of July, 2012, 20:29
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
I don't think we ever unveiled the fieldset tag.
Reply With Quote
  #34  
Unread 27th of July, 2012, 20:31
itches's Avatar
itches
Vampire Lord [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #10
Location: Castle Greyskull
Posts: 13,740 (2.38 per day)
I've been using it all over the place, I guess it's now a 'secret' feature for those who can work it out.
__________________
@}-`-- Coffee + Hate = itches
Reply With Quote
  #35  
Unread 27th of July, 2012, 21:55
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
But you hate the fieldset tag!
Reply With Quote
  #36  
Unread 27th of July, 2012, 22:04
zachol's Avatar
zachol
Flesh Colossus [Epic GM]

User is offline
 
Join Date: Jan 2005
Member: #1103
Location: Glorious Nippon
Posts: 8,153 (1.74 per day)
Ohmigosh, what if you could align it to the right and give it a fixed width, while having text flow around it to the left, to give you a sidebar? That would be pretty awesome, gotta say.
__________________
Sleepy cat is sleepy.
Reply With Quote
  #37  
Unread 27th of July, 2012, 22:33
-J-'s Avatar
-J-
Dread Lord on High [Epic GM]

User is offline
 
Join Date: Nov 2004
Member: #1006
Location: Nor'east
Posts: 2,996 (0.63 per day)
Side by side grids was my next question! Zach you're such a mind reader.
Reply With Quote
  #38  
Unread 27th of July, 2012, 22:40
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
Right now we cannot do side by side grids. I was mocking up a HERO character sheet for Erik and I realized it would be really nice to be able to do that. I'm trying to come up with something simple that would work but thus far nothing springs to mind.

Edit: I'm looking into recursive regex patterns, so maybe we'll see about allowing nested grids.
Reply With Quote
  #39  
Unread 27th of July, 2012, 22:57
itches's Avatar
itches
Vampire Lord [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #10
Location: Castle Greyskull
Posts: 13,740 (2.38 per day)
But you hate the fieldset tag!
I hate everything.
__________________
@}-`-- Coffee + Hate = itches
Reply With Quote
  #40  
Unread 28th of July, 2012, 05:32
Gralhruk's Avatar
Gralhruk
Ghost of ORP Past [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #13
Location: The Netherworld
Posts: 10,847 (1.88 per day)
Okay, so here's what I came up with - the subgrid. You can place [subgrid][/subgrid] tags within a regular grid, and they function exactly as a regular grid (all the same syntax). This gives you the ability to nest your grid one level deep:

Main Grid
Attributes
Attr Value
Str: 18
Int: 18

More Attributes
Cost Value
100 20
200 40
300 60
Description
Name John Snow
Height 5'10""
Weight 171lbs
Hair Black
Eyes Grey
And one final column with some text but no grid, because really how many grids do you need?


And here is the code:

[grid=Main Grid]
[fmt width=600 colwidth=200 border=column align=top center][/fmt]
[row][col][subgrid=Attributes]
[fmt zebra=row]width=50 align=right;;width=125 align=left[/fmt]
[row=header]Attr;;Value[/row]
[row]Str:;;18[/row]
[row]Int:;;18[/row]
[/subgrid]
[subgrid=More Attributes]
[fmt zebra=row]width=75 align=center;;width=100 align=center[/fmt]
[row=header]Cost;;Value[/row]
[row]100;;20[/row]
[row]200;;40[/row]
[row]300;;60[/row]
[/subgrid][/col]
[col][subgrid=Description]
[fmt border=row]width=75 align=right;;width=100[/fmt]
[row]Name;;John Snow[/row]
[row]Height;;5'10""[/row]
[row]Weight;;171lbs[/row]
[row]Hair;;Black[/row]
[row]Eyes;;Grey[/row]
[/subgrid][/col]
[col]And one final column with some text but no grid, because really how many grids do you need?[/col][/row]
[/grid]
Reply With Quote
  #41  
Unread 28th of July, 2012, 08:04
-J-'s Avatar
-J-
Dread Lord on High [Epic GM]

User is offline
 
Join Date: Nov 2004
Member: #1006
Location: Nor'east
Posts: 2,996 (0.63 per day)
that sir is spanky!
Reply With Quote
  #42  
Unread 28th of July, 2012, 17:21
itches's Avatar
itches
Vampire Lord [Epic Admin]

User is offline
 
Join Date: Jan 2002
Member: #10
Location: Castle Greyskull
Posts: 13,740 (2.38 per day)
Help, I'm lost within a tangled maze of my own crappy code
__________________
@}-`-- Coffee + Hate = itches
Reply With Quote
  #43  
Unread 4th of August, 2012, 03:24
Black Plauge's Avatar
Black Plauge
PhD in Physics [Epic GM]

User is offline
 
Join Date: Sep 2002
Member: #192
Location: Old Town, ME
Posts: 6,801 (1.23 per day)
Great. Now I have to go reformat all my character sheets just because I can make them prettier.
__________________
Physics is like sex. Sometimes it yields practical results, but that's not why we do it.
-Richard Feynman
Reply With Quote
  #44  
Unread 5th of February, 2013, 21:28
Church's Avatar
Church
Spectre [GM]

User is offline
 
Join Date: Feb 2013
Member: #10480
Location: Albion (Great Britain)
Posts: 729 (0.42 per day)
These look awesome, especially the map/grid examples. Shame I've got no head for web code, or I'd consider using them for my (upcoming?) Star Wars game.

On that note, I put forward a hopefuly request: could anyone help me come up with a character sheet table for WEG d6 characters?
Reply With Quote
  #45  
Unread 5th of February, 2013, 23:25
Church's Avatar
Church
Spectre [GM]

User is offline
 
Join Date: Feb 2013
Member: #10480
Location: Albion (Great Britain)
Posts: 729 (0.42 per day)
Or, better yet, a sheet for V20 characters.
Reply With Quote
  #46  
Unread 5th of February, 2013, 23:39
Mercutio's Avatar
Mercutio
Grave Digger [Epic GM]

User is offline
 
Join Date: Oct 2005
Member: #1485
Location: Ocean City, NJ
Posts: 8,215 (1.85 per day)
Embrace DIY and then share!

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 14:23.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Graphics by Koert van Kleef (T0N!C) and Lyle Warren