quality:correction, structural:expansion, linguistic:translation, information:extraction
Religious

Written at a time of religious upheaval and in the wake of the English Reformation, the play is alternately Catholic (or piously medieval) and Protestant (or consciously modern). The ghost describes himself as being in purgatory and as dying without last rites. This and Ophelia's burial ceremony, which is characteristically Catholic, make up most of the play's Catholic connections. Some scholars have observed that revenge tragedies come from Catholic countries such as Italy and Spain, where the revenge tragedies present contradictions of motives, since according to Catholic doctrine the duty to God and family precedes civil justice. Hamlet's conundrum then is whether to avenge his father and kill Claudius or to leave the vengeance to God, as his religion requires.

Much of the play's Protestant tones derive from its setting in Denmark—both then and now a predominantly Protestant country, though it is unclear whether the fictional Denmark of the play is intended to portray this implicit fact. Dialogue refers explicitly to the German city of Wittenberg where Hamlet, Horatio, and Rosencrantz and Guildenstern attend university, implying where the Protestant reformer Martin Luther nailed the Ninety-five Theses to the church door in 1517.