sp_helpdb as Marcin suggests.
Also note that sp_helpdb accepts wild card for database name
E.G. following will show details of databases that begin with TR
exec sp_helpdb 'TR%'
go
Then look under the 'status' column.
If you want to use various bits set for a database then then read on sysdatabases system table for more details.
You can also discover a few things by looking at the internals of sp_dboption and the SQL it uses to generate 'status' information.
HTH
Avinash