The Knights Templar were highly unlikely to be freemasons, but their story and destruction on the notorious Friday the 13th created legends that survived. They were crusaders devoted to their quest, and rose to power matching that of kings, and even created a global (which at that time basically meant Europe) banking system!
Some of the remains of the templars DID infuse with the Scottish freemasons, and their secret rites quite certainly influenced the rites in freemasonry. The crimes of which the Knights Templar were accused of, were later directed also to the freemasons.
(Source: roft, via burnthecityoftroy)