Community

 
Jump Menu:
Post Reply
Page 6 of 7  •  Prev 1 2 3 4 5 6 7 Next
Switch to Forum Live View
Sticky: Power Stat Blocks
3 years ago  ::  Jun 24, 2010 - 2:58PM #51
Koesherbacon
Date Joined: Jul 6, 2006
Posts: 394
Dude, these are so WIN :D

Edit: I just noticed that I'm having a problem with your Item block.  It looks a little wonky.  Do you suppose it's a problem with Safari or is it with the programming?

4730930169_b55034255f.jpg 

Here's a link to a larger pic in case that isn't clear enough

Still, these are really helpful!
Quick Reply
Cancel
3 years ago  ::  Jun 25, 2010 - 2:13AM #52
Qube
Date Joined: Nov 1, 2002
Posts: 4,315

Jun 24, 2010 -- 2:58PM, Koesherbacon wrote:

Dude, these are so WIN :D

Edit: I just noticed that I'm having a problem with your Item block.  It looks a little wonky.  Do you suppose it's a problem with Safari or is it with the programming?


The problem is this:
- each editor/OS has a different font/style/...
- the power block in the user interface is not one block, but multiple tables with no space between them (short reason: work-around for javascript bug on Explorer ).

Combine these two, and you get that Safari on your operating system decides it needs more space for the second and thrid table (the property and power table), breaking the user interface


Could you do me a favor and test something?

  1. save the page on your computer (except for images the entire blockbuilder is the one html file)
  2. open the page in a simple text editor (the equivalent for notepad on windows)
  3. (changing the length of the [content] field) On line 265 and 1018, change the "39" to a smaller number*
  4. (changing the length of the [description] field) On line 293, 295 and 1026,  change the "26" to a smaller number*
  5. save, re-open in Safari - and check if the problem is fixed.

*: I recon reducing it with 2 or 3 should be enough


If this fixes it, please let me know, that I can change it in the next version.


edit: a test for post 54

Also, something else neat: once you've put the css block in one post, it'll work for every post after it.  I didn't put it in this post, but as you can see it's still affecting this statblock:

Item Name Level # Rarity
Flavour Text
Item Slot: slot #### gp
Property: property
Power (Usage ♦ Keywords): action. Trigger: trigger. Effect: effect.
Special: special



Qube's block builder: if you want to create blocks for powers, items and monsters for this forum, but don't know html
"Signature in a box" Show
For years, I've lived a double life. In the day, I do my job - I ride the bus, roll up my sleeves with the hoi-polloi. But at night, I live a life of exhilaration, of missed heartbeats and adrenalin. And, if the truth be known a life of dubious virtue. I won't deny it - I've been engaged in violence, even indulged in it. I've maimed and killed adversaries, and not merely in self-defence. I've exhibited disregard for life, limb and property, and savoured every moment. You may not think it, to look of me but I have commanded armies, and conquered worlds. And though in achieving these things I've set morality aside, I have no regrets. For though I've led a double life, at least I can say - I've lived.

3.jpg
D&D Home Page - What Monster Are You? - Stone Gaint




Scipio: And Chihuahuas have definitely improved in the "attacking ankles, yapping, and being generally annoying" environment.
Me: OK, am I the only who sees an analogy between forum trolls & Chihuahuas?

"Some of my work:" Show

XDMC 19 (silver): A full fledged assassins guild (with stats, skill challenges, ...)link
XDMC 14 (Bronze): a one shot campaign for beginning DMs/players. link
XDMC 16: Paragon path: the Epitome: being better then all then any one else. link (note: this is balanced)
XDMC 25: The Gelatinous Cube mount
Guide To Disreality: a collection of houserules
-
Introduction & table of content

"My ego in a box" Show
who am I kidding? my ego would never fit in a box
Quick Reply
Cancel
3 years ago  ::  Jun 25, 2010 - 12:56PM #53
Koesherbacon
Date Joined: Jul 6, 2006
Posts: 394
Moved 39 down to 36 and 26 down to 23.  Still looks wonky.  Just a smaller wonky

Sorry bro, gave it a shot but it didn't work out.   
Quick Reply
Cancel
2 years ago  ::  Dec 06, 2010 - 11:45AM #54
Igfig
Date Joined: Oct 22, 2002
Posts: 314
So, uh, did you know you can use <style>  tags on this forum?  You can use them to define all your table styles in one stylesheet, which makes the tables themselves look much tidier.  Just copy and paste the following block of code at the beginning of your post just before you hit "Submit":

<style type="text/css"><!--
.block {position:relative; margin:10px; font: 12px arial; line-height: 17px; width:400px; }
.block div { display:block; padding: 0px 7px; text-align: left; }
.block p { margin:0px 0px 0px 7px; text-indent:-7px; }
 .block ul, .block ol { margin:0px; }
 .block .head { color: #ffffff; }
  .atwill .head { background-color: #619869; }
  .encounter .head { background-color: #961334; }
  .daily .head { background-color: #4d4d4d; }
  .item .head { background-color: #cd8e27; }
  .monster .head { background-color:#4e5f30; padding-bottom:1px; }
.block .title { font-size: 1.1em; font-weight: bold; line-height: 21px; }
  .monster .title { font-size: 1.2em; }
.block .alt { background-color: #d6d6c2; }
.block .indent { padding-left:14px; }
.block .right { float:right; text-align: right;}
.block .over { float:right; width:60%; }
.block var { font:normal 1em dd4e; vertical-align:text-top; }
.monster .sub { background-color:#717b54; color: #ffffff; font-weight:bold;  }
.block .inner { padding:0px; }
.inner table { border-collapse:collapse; font: 12px Arial; width:100%; }
.inner table td { padding:1px 7px; }
  .item .inner table td:nth-child(3), .item .inner table td:last-child {text-align:right;}
  .item .inner table td:nth-child(4) {padding:1px 14px;}
@font-face { font-family: dd4e;src: url('http://goo.gl/wjXf3') }
--></style>

It's a bit of a hack, so it only works if you do it right at the very end, and only in the WSIWYG editor.  If you do it earlier or in the HTML editor, the post parser will recognize your <style> tags as HTML and get annoyed because they're usually supposed to be defined way back at the beginning of the document.  That means you'll have to do all your previewing before you add the <style> tags, and if you ever edit your post you'll have to add them back before you resubmit.

(UPDATE: You can also just stick the CSS in your signature, which will automatically format any (well-formed) statblock on the same page as one of your posts.)

But on the bright side, you can have power blocks that look like this:

(MOVED TO NEXT POST)
Some things to consider Show
Quick Reply
Cancel
2 years ago  ::  Dec 20, 2010 - 11:31PM #55
Qube
Date Joined: Nov 1, 2002
Posts: 4,315
@lgfig: that's quite cool. However, I do have some issues
(1) I think it might be messing up the ability to 'quote' . Don't know for sure (maybe its because you've typed bracket-style-bracket )

(2) does it work for the wiki & the blog ? ...
Qube's block builder: if you want to create blocks for powers, items and monsters for this forum, but don't know html
"Signature in a box" Show
For years, I've lived a double life. In the day, I do my job - I ride the bus, roll up my sleeves with the hoi-polloi. But at night, I live a life of exhilaration, of missed heartbeats and adrenalin. And, if the truth be known a life of dubious virtue. I won't deny it - I've been engaged in violence, even indulged in it. I've maimed and killed adversaries, and not merely in self-defence. I've exhibited disregard for life, limb and property, and savoured every moment. You may not think it, to look of me but I have commanded armies, and conquered worlds. And though in achieving these things I've set morality aside, I have no regrets. For though I've led a double life, at least I can say - I've lived.

3.jpg
D&D Home Page - What Monster Are You? - Stone Gaint




Scipio: And Chihuahuas have definitely improved in the "attacking ankles, yapping, and being generally annoying" environment.
Me: OK, am I the only who sees an analogy between forum trolls & Chihuahuas?

"Some of my work:" Show

XDMC 19 (silver): A full fledged assassins guild (with stats, skill challenges, ...)link
XDMC 14 (Bronze): a one shot campaign for beginning DMs/players. link
XDMC 16: Paragon path: the Epitome: being better then all then any one else. link (note: this is balanced)
XDMC 25: The Gelatinous Cube mount
Guide To Disreality: a collection of houserules
-
Introduction & table of content

"My ego in a box" Show
who am I kidding? my ego would never fit in a box
Quick Reply
Cancel
2 years ago  ::  Jan 08, 2011 - 2:49PM #56
Igfig
Date Joined: Oct 22, 2002
Posts: 314
You're right, it was the inline style tags.  Fixed.

Yes, it does work for the wiki and blog.

Also, something else neat: once you've put the css block in one post, it'll work for every post after it.  I didn't put it in this post, but as you can see it's still affecting all these statblocks:

Class Type LevelPower Name

Flavour Text

At-Will ♦ Keywords

Action Type range

Target: One creature

Attack: Ability vs. Defense

Hit: 1[W] + Ability modifier damage.
Level 21: 2[W] + Ability modifier damage.

Special: special


Class Type LevelPower Name

Flavour Text

Encounter ♦ Keywords

Action Type range

Target: One creature

Attack: Ability vs. Defense

Hit: 2[W] + Ability modifier damage.

Special: special


Class Type LevelPower Name

Flavour Text

Daily ♦ Keywords

Action Type range

Target: One creature

Attack: Ability vs. Defense

Hit: 3[W] + Ability modifier damage.

Miss: miss

Effect: effect


Level # RarityItem Name

Flavour Text

Item Slot: slot #### gp

Property: property

Power (Usage ♦ Keywords): action. Trigger: trigger. Effect: effect.

Special: special


Level # RarityItem Name

Flavour Text

Lvl 1+1360 gpLvl 16+445,000 gp
Lvl 6+21,800 gpLvl 21+5225,000 gp
Lvl 11+39,000 gpLvl 26+61,125,000 gp

Item Slot: slot

Enhancement: Attack rolls and damage rolls

Critical: +1d6 per plus

Property: property

Power (Usage ♦ Keywords): action. Trigger: trigger. Effect: effect.

Special: special


There're a few more things I'd like to test about this.  If it's not too much trouble, would you mind temporarily editing one of your other posts on this page to include one of my statblocks?  And the same for another post in this thread on a different page?  I want to see just how far the CSS can reach.
Some things to consider Show
Quick Reply
Cancel
2 years ago  ::  Jan 11, 2011 - 12:46AM #57
Qube
Date Joined: Nov 1, 2002
Posts: 4,315

Jan 8, 2011 -- 2:49PM, Igfig wrote:

You're right, it was the inline style tags.  Fixed.

Yes, it does work for the wiki and blog.

Also, something else neat: once you've put the css block in one post, it'll work for every post after it.  I didn't put it in this post, but as you can see it's still affecting this statblock:


Item Name Level # Rarity
Flavour Text
Item Slot: slot #### gp
Property: property
Power (Usage ♦ Keywords): action. Trigger: trigger. Effect: effect.
Special: special


There're a few more things I'd like to test about this.  If it's not too much trouble, would you mind temporarily editing one of your other posts on this page to include one of my statblocks?  And the same for another post in this thread on a different page?  I want to see just how far the CSS can reach.



I edited post 5, but it seems no luck on firefox ...

Qube's block builder: if you want to create blocks for powers, items and monsters for this forum, but don't know html
"Signature in a box" Show
For years, I've lived a double life. In the day, I do my job - I ride the bus, roll up my sleeves with the hoi-polloi. But at night, I live a life of exhilaration, of missed heartbeats and adrenalin. And, if the truth be known a life of dubious virtue. I won't deny it - I've been engaged in violence, even indulged in it. I've maimed and killed adversaries, and not merely in self-defence. I've exhibited disregard for life, limb and property, and savoured every moment. You may not think it, to look of me but I have commanded armies, and conquered worlds. And though in achieving these things I've set morality aside, I have no regrets. For though I've led a double life, at least I can say - I've lived.

3.jpg
D&D Home Page - What Monster Are You? - Stone Gaint




Scipio: And Chihuahuas have definitely improved in the "attacking ankles, yapping, and being generally annoying" environment.
Me: OK, am I the only who sees an analogy between forum trolls & Chihuahuas?

"Some of my work:" Show

XDMC 19 (silver): A full fledged assassins guild (with stats, skill challenges, ...)link
XDMC 14 (Bronze): a one shot campaign for beginning DMs/players. link
XDMC 16: Paragon path: the Epitome: being better then all then any one else. link (note: this is balanced)
XDMC 25: The Gelatinous Cube mount
Guide To Disreality: a collection of houserules
-
Introduction & table of content

"My ego in a box" Show
who am I kidding? my ego would never fit in a box
Quick Reply
Cancel
2 years ago  ::  Jan 11, 2011 - 7:22AM #58
Igfig
Date Joined: Oct 22, 2002
Posts: 314
Yeah, doesn't work for earlier pages--not a surprise, in retrospect.

For the other test, could you put the block in a post earlier on this page, like #52 or something?  I want to see if the CSS works for everything on the same page, or only stuff after it.

If that works, I'll see what happens if I put the CSS in my sig.

 
Some things to consider Show
Quick Reply
Cancel
2 years ago  ::  Jan 13, 2011 - 3:57AM #59
Qube
Date Joined: Nov 1, 2002
Posts: 4,315

Jan 11, 2011 -- 7:22AM, Igfig wrote:

For the other test, could you put the block in a post earlier on this page, like #52 or something?


done

Jan 11, 2011 -- 7:22AM, Igfig wrote:

If that works, I'll see what happens if I put the CSS in my sig.


LOL! if that would work, that indeed would be fun

(godcomplex: only if I post in this thread, can you use the statblocks)

Qube's block builder: if you want to create blocks for powers, items and monsters for this forum, but don't know html
"Signature in a box" Show
For years, I've lived a double life. In the day, I do my job - I ride the bus, roll up my sleeves with the hoi-polloi. But at night, I live a life of exhilaration, of missed heartbeats and adrenalin. And, if the truth be known a life of dubious virtue. I won't deny it - I've been engaged in violence, even indulged in it. I've maimed and killed adversaries, and not merely in self-defence. I've exhibited disregard for life, limb and property, and savoured every moment. You may not think it, to look of me but I have commanded armies, and conquered worlds. And though in achieving these things I've set morality aside, I have no regrets. For though I've led a double life, at least I can say - I've lived.

3.jpg
D&D Home Page - What Monster Are You? - Stone Gaint




Scipio: And Chihuahuas have definitely improved in the "attacking ankles, yapping, and being generally annoying" environment.
Me: OK, am I the only who sees an analogy between forum trolls & Chihuahuas?

"Some of my work:" Show

XDMC 19 (silver): A full fledged assassins guild (with stats, skill challenges, ...)link
XDMC 14 (Bronze): a one shot campaign for beginning DMs/players. link
XDMC 16: Paragon path: the Epitome: being better then all then any one else. link (note: this is balanced)
XDMC 25: The Gelatinous Cube mount
Guide To Disreality: a collection of houserules
-
Introduction & table of content

"My ego in a box" Show
who am I kidding? my ego would never fit in a box
Quick Reply
Cancel
2 years ago  ::  Jan 13, 2011 - 10:51AM #60
Igfig
Date Joined: Oct 22, 2002
Posts: 314
Okay, awesome.  Looks like the CSS works for everything on the same page, regardless of location.

Testing sig.

Level # RarityItem Name

Flavour Text

Item Slot: slot #### gp

Property: property

Power (Usage ♦ Keywords): action. Trigger: trigger. Effect: effect.

Special: special



(Other tests in this thread may look broken, due to various compatibility-breaking updates I've made.)
Some things to consider Show
Quick Reply
Cancel
Page 6 of 7  •  Prev 1 2 3 4 5 6 7 Next
Jump Menu:
 
    Viewing this thread :: 0 registered and 1 guest
    No registered users viewing