Basics of Pattern Formation in Weakly Confined Systems