using shortcode with argument

how to use shoetcode with argument if
i want to display only active events belong to a particular category it '6' such as 5 events are shown on a page in the order of time left to expire i.e the first to expired is placed first