This is the for template taken from wikimedia. There is a large amount of documentation there.