I have seen European paintings from (I'm guessing) the Middle Ages, where the painting is placed in what looks like a wooden cabinet, with the subject almost always pertaining to religion. Is there a name for this practice? Is there any significance behind it? Link in text shows what I'm describing.

by SomeoneHadToDoThis

Restoration of Ave Maria Credit: Baumgartner Restoration

BRIStoneman

That type of object is known as a tryptich, from the Greek to mean three-fold. They are an incredibly common phenomenon throughout the medieval period across Europe, particularly in works of devotional art, and could range in size from giant cathedral altarpieces to something the size of a matchbox that could be carried in your pocket.

Apart from the obvious Christian symbolism of being three things in one, tryptichs were popular because their format allows them to be easily packed away for safety, security or to make them easily portable. In cases of mass popular worship, this functionality may have served to add a further element of spectacle to religious ceremonies heavily based around visual pomp. In cases of private worship, a tryptich could be easily packed away after a ceremony.