The pattern cost $15 and the two spools of silver thread cost $3 each, so the total cost of the pattern and thread is $15 + ($3 x 2) = $15 + $6 = $21.
If the total cost of the pattern, thread, and fabric is $141, then the cost of the fabric is $141 - $21 = $120.
Since the velvet fabric is $24 per yard, Louis bought $120 / $24 = 5 yards of fabric.
#### 5
The answer is: 5
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Louis is making himself a velvet suit for a formal event. The velvet fabric he chose was $24 per yard. He bought a pattern for $15, and two spools of silver thread for $3 each. If he spent $141 for the pattern, thread, and fabric, how many yards of fabric did he buy?

### Answer:
