Temple names are commonly used when naming most Chinese, Korean (Goryeo and Joseon periods), and Vietnamese (such dynasties as Tr?n, Lý, and Lê) royalty. They should not be confused with era names. Compared to posthumous names, the use of temple names is more exclusive. Both titles were given after death to an emperor or king, but unlike the often elaborate posthumous name, a temple name almost always consists of only two characters:
The "temple" in "temple name" refers to the "grand temple" (), also called "great temple" () or "ancestral temple" (), where crown princes and other royalty gathered to worship their ancestors. The ancestral tablets in the grand temple recorded the temple names of the rulers.
In earlier times, only rulers had temple names, such as Taihao (). Temple names were assigned sporadically from the Han dynasty and regularly from the Tang dynasty. Some Han emperors had their temple names permanently removed by their descendants in 190. They are the usual way to refer to emperors from the Tang dynasty up to the Ming dynasty. For the Ming dynasty and Qing dynasty (from 1368), era names were used instead (either is acceptable in Ming).
In Korea, temple names are used to refer to kings of the early Goryeo (until 1274), and kings and emperors of the Joseon Dynasty. For the Korean Empire (1897-1910), era names should be used, but the temple names are often used instead.