Difference between revisions of "Template talk:Function"

Jump to navigation Jump to search
504 bytes added ,  01:35, 13 December 2008
imported>Haama
imported>Haama
Line 52: Line 52:
===Function Parameter Types===
===Function Parameter Types===
I still prefer [http://en.wikipedia.org/wiki/Template:Show_hide_box show/hide boxes]. These would allow new readers to easily find the information (right on the page) and those who want a reminder to glance at it. More importantly, some of the parameter information is rather long and this would allow readers to easily (and by default) see the rest of the page. Do you think we should ask about them again?
I still prefer [http://en.wikipedia.org/wiki/Template:Show_hide_box show/hide boxes]. These would allow new readers to easily find the information (right on the page) and those who want a reminder to glance at it. More importantly, some of the parameter information is rather long and this would allow readers to easily (and by default) see the rest of the page. Do you think we should ask about them again?
As for the template, I think it would be straight-forward. Each function parameter would have an optional template parameter "Sub-Type". If Sub-Type is filled, then show the template {{Sub-Type}}.
Further expanding on this is not so straight forward (especially when I should be asleep :P). I'm thinking the layout should be
<nowiki>==Parameter Info== Show/Hide
#Parameter 1 Name: Parameter information (i.e., ''RunOnActivate'' runs the script)
#*Parameter 1 Sub-Type Information Template - Show/Hide
<br>--[[User:Haama|Haama]] 06:30, 13 December 2008 (UTC)
<br>--[[User:Haama|Haama]] 06:30, 13 December 2008 (UTC)
Anonymous user

Navigation menu