Game_Ender, I don't understand what you are saying me, create a new static library template and then modify it? :S
He wants to say that open the file <Code::Blocks Dir>\share\CodeBlocks\templates\wizard\staticlib\wizard.script in Notepad++ (My favourite) or Notepad. Then goto line no 66.
target.SetTargetType(ttStaticLib);
Now change it to -
target.SetTargetType(ttDynamicLib);
That's it!
But I don't know whether the sample code will work or not. :D
If that works then you can create a new wizard very easily by some Copy-Paste of few files and Adding few lines of code.