Deduct 25% of the leave

can we deduct 25% of the leave from the employees?
75% Paid
25% unpaid

https://erpnext.com/docs/user/manual/en/human-resources/articles/leave-calculation-in-salary-slip

I read this page before, but I do not see how to calculate the leave to 75% Paid
25% unpaid