User blog:SpanishSpy/Making editable templates

How would I make a nation template like the one found at

http://althistory.wikia.com/wiki/German_Empire_(DoH) ?

If you click "Edit", you don't have to do that special screen you do normally. How do I make these templates?