Template talk:Ele: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>Robert W King
Line 12: Line 12:


:I put a hook in so that we can resize the "element" if needed.  I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate.  I haven't tested this of course, we don't need the functionality...for _this_ table :-)--[[User:David Yamakuchi|David Yamakuchi]] 13:38, 8 April 2008 (CDT)
:I put a hook in so that we can resize the "element" if needed.  I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate.  I haven't tested this of course, we don't need the functionality...for _this_ table :-)--[[User:David Yamakuchi|David Yamakuchi]] 13:38, 8 April 2008 (CDT)
::There's a problem with each ele cell border I discovered early on (shoulda said something, apologies).  Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8.  Multiply that times how many ele cells there are and... you get the idea.  Also you'll end up with double-thick lines if you border all eles which look really unsightly. --[[User:Robert W King|Robert W King]] 13:45, 8 April 2008 (CDT)

Revision as of 12:45, 8 April 2008

I would like to change this template to accept the opacity value passed in to it...any objections?--David Yamakuchi 15:57, 6 April 2008 (CDT)

Yeah, but if you add an opacity value you have to include it in every functional call on the {{periodic}} page. Also, the periodic template needs some logic in there to allow you to select one of the ele units to "highlight" it. I'm not sure how to accomplish that yet.--Robert W King 15:58, 6 April 2008 (CDT)
I'm on it :-)--David Yamakuchi 16:38, 6 April 2008 (CDT)
Basically, the command should be {{periodic|highlight=thiscoordinate or thiselement}} or something like that. --Robert W King 17:07, 6 April 2008 (CDT)
Check it out...[1]--David Yamakuchi 21:01, 7 April 2008 (CDT)


Cell Width

When does the b field ever get used in the context of "border:{{{b}}}px solid #000;"? It seems that the addition of a border here causes each cell to become wider. Chris Day 13:12, 8 April 2008 (CDT)

I put a hook in so that we can resize the "element" if needed. I left the border setting in place so that if you want to have an ele that has a border, theoretically you should be able to declare it to be a smaller size and compensate. I haven't tested this of course, we don't need the functionality...for _this_ table :-)--David Yamakuchi 13:38, 8 April 2008 (CDT)
There's a problem with each ele cell border I discovered early on (shoulda said something, apologies). Remember when you add a border to all sides, it adds 1 pixel width to every little ele cell, so in effect something 6 pixels wide becomes 8. Multiply that times how many ele cells there are and... you get the idea. Also you'll end up with double-thick lines if you border all eles which look really unsightly. --Robert W King 13:45, 8 April 2008 (CDT)