Labor Standards Act Article 50

(Ⅰ)A female worker shall be granted maternity leave before and after childbirth for a combined period of eight weeks. In the case of a miscarriage after the first three months of pregnancy, the female worker shall be permitted to discontinue her work and shall be granted maternity leave for a period of four weeks.(Ⅱ)If the female worker referred to in the preceding Paragraph has been employed for more than six months, she shall be paid regular wages during the maternity leave, while if her period of service is less than six months, she shall be paid wages at half of the regular payment.
中文原文 勞動基準法第50條
女工分娩前後,應停止工作,給予產假八星期;妊娠三個月以上流產者,應停止工作,給予產假四星期。
前項女工受僱工作在六個月以上者,停止工作期間工資照給;未滿六個月者減半發給。

English translation for reference only; the Chinese text prevails. Not legal advice.