Don't you just hate it when you need to make as many troops as you can, but don't want to do the math to find out at what ratio you should exchange your resources? This bookmarklet is for you.

Simply enter the name of the troop in singular and plural and how much of each resource it takes to make one unit, click "Make Bookmarklet →", and make a bookmark/favorite of the resulting link.

When you want to use it in Travian, simply go to the page wher you can exchange resources with the NPC and click the bookmarklet for the troops you want to make. The bookmarklet will then enter the correct values in the boxes and all you have to do is complete the exchange. The bookmarklet will even tell you how many of the chosen troop-type you can train.

Names:

Resources needed for one unit:

A word of warning. Using this bookmarklet is against Travian rules. But there is no way to detect if it has been used, nor will it create an unfair advantage for people using it.

In any case: Use at your own risk.

For buildings.
If you know you have enough resources to build a building, but just not in the right ratio, simply copy the line which states how much of each resource is needed, and then on the NPC-trading page click this bookmarklet and paste the copied line.

Buildings bookmarklet.