Located on Provincial Highway 2 beside Jinshan Nuclear Power Plant, the temple is dedicated to seventeen deceased sailors and one dog.
According to legend, during the Qing Dynasty, a boat carrying seventeen people and one dog capsized near the coast of northern Taiwan.
[2] In the 1980s, the temple was popular among gamblers playing dajiale [zh] (a type of illegal lottery) and sex workers.
[5][6] As a yin miao, the Temple of the Eighteen Lords is popular among people involved with the underworld of society, particularly gamblers and sex workers.
This is why the stalls outside the temple mostly sell hot food like zongzi, stewed whelk, sticky rice, and sesame oil chicken.