List Template ID for SharePoint2010/SharePoint2007 Lists

Many SharePoint elements are using ListTemplateID to identify the list they are refearing to. For example event receivers CAML looks like this <Receivers ListTemplateId="100">, custom actions uses RegistrationId, etc.

For reference you can find the list of ListTemplateID in the table bellow

List template nameListTemplateID
NoListTemplate0
GenericList100
DocumentLibrary101
Survey102
Links103
Announcements104
Contacts105
Events106
Tasks107
DiscussionBoard108
PictureLibrary109
DataSources110
WebTemplateCatalog111
UserInformation112
WebPartCatalog113
ListTemplateCatalog114
XMLForm115
MasterPageCatalog116
NoCodeWorkflows117
WorkflowProcess118
WebPageLibrary119
CustomGrid120
SolutionCatalog121
NoCodePublic122
ThemeCatalog123
DataConnectionLibrary130
WorkflowHistory140
GanttTasks150
Meetings200
Agenda201
MeetingUser202
Decision204
MeetingObjective207
TextBox210
ThingsToBring211
HomePageLibrary212
Posts301
Comments302
Categories303
Facility402
Whereabouts403
CallTrack404
Circulation405
Timecard420
Holidays421
IMEDic499
ExternalList600
IssueTracking1100
AdminTasks1200
HealthRules1220
HealthReports1221
InvalidType-1

ListTemplateID can be accessed programmatically like this:

string[] listTemplateNames = Enum.GetNames(typeof(SPListTemplateType));
Array listTemplateId = System.Enum.GetValues(typeof(SPListTemplateType));
for (int i = 0; i < listTemplateId.Length; i++)
{
Debug.WriteLine(string.Format("ListTemplate name: {0}, ListTemplateId: {1}",
listTemplateNames[i], (int)listTemplateId.GetValue(i)));
}