How do you make icing from scarch?

icing sugar about a teaspoon of butter and boiling water - different amounts of sugar and water for different consistencies (thickness's) and amount of icing of course and add some cocoa for chocolate icing and an essence for flavoured icing although i find icing to be sweet enough!