Sets/Reps/Weight for maximum size gain?

Normally I do pyramid sets with 3 sets with 12 reps with low weight, 10 with high weight, and 8 with heavy weight. Some of my friends told me to do 5x5 with heavy weight, while some told me to keep doing pyramid sets but raise my weight and lower my reps. Another told me to do 4x6. How many sets/reps and how much weight should I do for gaining the most mass? Is the amount of sets/reps/weight different if I want to gain mostly strength rather than mass?