Forum:Creating Standard Summaries box

I was wondering how to create a "Standard Summaries Box" (drop-down box) that lists summaries to choose from after editing a page. There is one on Wookieepedia. I have the summaries I want to put in the box, but I don't know how to create the actual box. Thanks for any help!  Swannie  talk to me 20:00, 10 July 2007 (UTC)
 * Appears to be a bit of JS and template:stdsummaries. – Smiddle / talk 20:15, 10 July 2007 (UTC)

function fillEditSummaries {   var label = document.getElementById("wpSummaryLabel");

if(label == null) return;

var comboString = "Standard summaries: "; comboString += " "; label.innerHTML = comboString + label.innerHTML;

requestComboFill('stdSummaries', 'Template:Stdsummaries'); }

function onStdSummaryChange {   var combo = document.getElementById("stdSummaries"); var value = combo.options[combo.selectedIndex].value;

if(value != "") document.getElementById("wpSummary").value = value; }
 * It could be that, but I'm not sure. – Smiddle / talk 20:18, 10 July 2007 (UTC)


 * Is it JS or CSS? (they are Monobook.js and Monobook.css, right?) Also, could someone please help me with putting this into CSS or JS? I'm not sure how to do this the correct way. Thanks. Swannie talk to me 22:16, 10 July 2007 (UTC)