Lola,
I believe you are refering to this succession box. It is a special type of template and you might consider completing the links of Alabama Governors with it.
You can find this info in the Help dropdown menu on the upper right.
Here is the coding from Thomas McKean. You can grab it by clicking on the edit box and scrolling down to the Succession box 2 heading or grab it here.
You will need to replace the flag image
{{Succession box2
| title =Thomas McKean<br> 2nd Governor<br>of Pennsylvania
| years = <div align="center">[[Image:State_Seals-49.png|85px]]</div>1799-1808
| before = '''1st Governor'''<br>[[Mifflin-19|Thomas Mifflin]]
| after = '''3rd Governor'''<br>[[Snyder-3096|Simon Snyder]]
}}