Template:Gender Generation

()

use this to generate gender templates by adding where the gender name|code part can repeat indefininately