According to legend, during the Qing Dynasty, a boat carrying seventeen people and one dog capsized near the coast of northern Taiwan. All of the people died, but the dog survived. When residents on the shore were burying the dead, the dog jumped into the grave to be buried as well.[a] Locals then immortalized them collectively as the "Eighteen Lords".[1]
The grave was maintained by the Lian family (練) living in Ganhua Village. In the 1960s, a small shrine was built at the grave, and in 1975, the Lian family built a larger temple for the eighteen spirits.[1] At the time, temples must worship one of the forty-seven deities recognized by the government to register as a legal entity, so the Lian marked it as a temple for Guanyin, who has a smaller altar besides the Eighteen Lords. Though this restriction was later lifted, temple officials said that they don't plan on changing its registration.[2]
In the 1980s, the temple was popular among gamblers playing dajiale [zh] (a type of illegal lottery) and sex workers. That led to food stalls flocking into the temple parking lot to cater to the visitors. According to Shimen District mayor Wu Zong-ren, there were roughly one hundred stalls outside the temple during its peak.[3] In particular, the makeshift market's zongzi became very famous: a stall named "Liu's Zongzi" grew into a chain store with branches throughout Taipei.[4] The temple's popularity diminished when Provincial Highway 2 was moved northwards onto a wider bridge, which redirected the traffic away from the temple and blocked its view of the ocean.[2]
In 1994, a new temple was built in the hills above Jinshan Nuclear Power Plant. The new temple has a very large dog statue overlooking the ocean, and visitors can walk inside it and climb to the dog's eyes.[5][6]
Worship
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.[3] Both temples have many statues of dogs, and touching them is said to attract wealth, as shown in a local saying:
Touch the dog's head and live in a big apartment
Touch the dog's body and get ten thousand gold
Touch the dog's mouth and be very wealthy
Touch the dog's tail and earn material possessions
Touch the dog's stomach and work a good job
Touch the dog's ears and earn lots of money
Touch the dog's feet and fill your house with money
According to tradition, hot food must be given to the eighteen lords since they died at sea. This is why the stalls outside the temple mostly sell hot food like zongzi, stewed whelk, sticky rice, and sesame oil chicken. Some people also bring cigarettes. Worshippers also claim that the temple's "powers" are stronger at night.[8][9]