Template talk:Ele: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>David Yamakuchi
mNo edit summary
Line 4: Line 4:
:::Basically, the command should be <code><nowiki>{{periodic|highlight=thiscoordinate or thiselement}}</nowiki></code> or something like that.  --[[User:Robert W King|Robert W King]] 17:07, 6 April 2008 (CDT)
:::Basically, the command should be <code><nowiki>{{periodic|highlight=thiscoordinate or thiselement}}</nowiki></code> or something like that.  --[[User:Robert W King|Robert W King]] 17:07, 6 April 2008 (CDT)
::::Check it out...[http://en.citizendium.org/wiki/User:David_Yamakuchi/Sandbox]--[[User:David Yamakuchi|David Yamakuchi]] 21:01, 7 April 2008 (CDT)
::::Check it out...[http://en.citizendium.org/wiki/User:David_Yamakuchi/Sandbox]--[[User:David Yamakuchi|David Yamakuchi]] 21:01, 7 April 2008 (CDT)
== Cell Width ==


When does the b field ever get used in the context of "<nowiki>border:{{{b}}}px solid #000;</nowiki>"? It seems that the addition of a border here causes each cell to become wider.  [[User:Chris Day|Chris Day]] 13:12, 8 April 2008 (CDT)
When does the b field ever get used in the context of "<nowiki>border:{{{b}}}px solid #000;</nowiki>"? It seems that the addition of a border here causes each cell to become wider.  [[User:Chris Day|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 :-)--[[User:David Yamakuchi|David Yamakuchi]] 13:38, 8 April 2008 (CDT)

Revision as of 12:38, 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)