When can attorney's fees be awarded?

Attorney’s fees are not awarded every time a party wins a suit.[1] Article 2208 of the Civil Code provides:

ART. 2208. In the absence of stipulation, attorney’s fees and expenses of litigation, other than judicial costs, cannot be recovered, except: 
 
(1) When exemplary damages are awarded;
(2) When the defendant’s act or omission has compelled the plaintiff to litigate with third persons or to incur expenses to protect his interest;
(3) In criminal cases of malicious prosecution against the plaintiff;
(4) In case of a clearly unfounded civil action or proceeding against the plaintiff;
(5) Where the defendant acted in gross and evident bad faith in refusing to satisfy the plaintiff’s plainly valid, just and demandable claim;
(6) In actions for legal support;
(7) In actions for the recovery of wages of household helpers, labourers and skilled workers;
(8) In actions for indemnity under workmen’s compensation and employer’s liability laws;
(9) In a separate civil action to recover civil liability arising from a crime;
(10) When at least double judicial costs are awarded; and
(11) In any other case where the court deems it just and equitable that attorney’s fees and expenses of litigation should be recovered.

In all cases, the attorney’s fees and expenses of litigation must be reasonable

[1] ABS-CBN Broadcasting Corporation v. Court of Appeals, 361 Phil. 499, 529 (1999).