The “fun facts about Spain” are flawed and not really much fun.
4. Although Spain was under Moorish rule for 300 years and was a Muslim country, most Spaniards are Catholic (94%). Spain is also a secular state.
Spain was under Moorish rule, not really all of Spain, but the main rulers where Berbers, not Moors, anyway Islamic rule in Iberia began in the Ano 711 until 1492, now that is a fact.
And according to a July 2009 study by the Spanish Center of Sociological Research about 73% of Spaniards self-identify as Catholics and 58% hardly ever or never go to church.