list available parameters of variable
If you're looking for a purely Twig/template solution, then your best bet would be to either enable devMode and use Twig's dump() method or install something like the Craft Kint plugin.

Keep in mind that both of them are going to give you much more information than just attributes available on a model (like the array of OrderModel's your example is going to return), but that info will be included.